plotGeneSet | R Documentation |
Plot gene set enrichment
plotGeneSet(object, ...)
## S4 method for signature 'FgseaList'
plotGeneSet(
object,
collection,
contrast,
set,
colors = c(line = "black", min = AcidPlots::purpleOrange(n = 2L)[[1L]], max =
AcidPlots::purpleOrange(n = 2L)[[2L]], ticks = "black", yintercept = "black")
)
object |
Object. |
collection |
|
contrast |
|
set |
|
colors |
|
... |
Additional arguments. |
ggplot
.
Updated 2023-08-15.
Modified version of fgsea::plotEnrichment()
.
data(fgsea)
## FgseaList ====
object <- fgsea
contrast <- contrastNames(object)[[1L]]
collection <- collectionNames(object)[[1L]]
set <- geneSetNames(object = object, collection = collection)[[1L]]
plotGeneSet(
object = object,
collection = collection,
contrast = contrast,
set = set
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.