subsetEnrichedPathways {GenomicSuperSignature}R Documentation

Subset enriched pathways of RAV

Description

Subset enriched pathways of RAV

Usage

subsetEnrichedPathways(RAVmodel, ind = NULL, n = 10, both = FALSE)

Arguments

RAVmodel

PCAGenomicSignatures object. Also an output from GSEA can be used.

ind

A numeric vector containing the RAV number you want to check enriched pathways. If not specified, this function returns results from all the RAVs.

n

The number of top and bottom pathways to be selected based on normalized enrichment score (NES).

both

Default is FALSE, where only the top n pathways will be printed. If it is set to TRUE, the output will contain both top and bottom n pathways.

Value

A DataFrame with top and bottom n pathways from the enrichment results.

Examples

data(miniRAVmodel)

# all RAVS in model
subsetEnrichedPathways(miniRAVmodel,n=5)

# only a specific RAV (note the colnames above)
subsetEnrichedPathways(miniRAVmodel,ind=695,n=5)



[Package GenomicSuperSignature version 1.0.1 Index]