Leading edge genes
Usage
leadingEdge(object, ...)
# S4 method for class 'FgseaList'
leadingEdge(object, contrast, collection, set)Arguments
- object
Object.
- contrast
character(1). Contrast name.- collection
character(1). Gene set collection name. Typically refers toh(hallmark),c1-c7collections from MSigDb. Can obtain usingcollectionNames()onFgseaListobject.- set
character(1). Gene set name, in a definedcollection. For example,"HALLMARK_ADIPOGENESIS".- ...
Additional arguments.
Examples
data(fgsea)
## FgseaList ====
object <- fgsea
contrast <- contrastNames(object)[[1L]]
collection <- collectionNames(object)[[1L]]
set <- geneSetNames(object = object, collection = collection)[[1L]]
leadingEdge(
object = object,
contrast = contrast,
collection = collection,
set = set
)
#> [1] "ADIPOR2" "NDUFAB1"