Enriched pathways from gene set collections.
Usage
enrichedGeneSets(object, ...)
# S4 method for class 'FgseaList'
enrichedGeneSets(object, collection, direction = c("both", "up", "down"))Arguments
- object
Object.
- collection
character(1). Gene set collection name. Typically refers toh(hallmark),c1-c7collections from MSigDb. Can obtain usingcollectionNames()onFgseaListobject.- direction
character(1). Include"both","up", or"down"directions.- ...
Additional arguments.
Examples
data(fgsea)
## FgseaList ====
object <- fgsea
alphaThreshold(object) <- 0.7
collection <- collectionNames(object)[[1L]]
enrichedGeneSets(
object = object,
collection = collection,
direction = "up"
)
#> $condition_B_vs_A
#> character(0)
#>
#> $treatment_D_vs_C
#> character(0)
#>