plotNes | R Documentation |
Plot normalized enrichment score
plotNes(object, ...)
## S4 method for signature 'FgseaList'
plotNes(
object,
contrast,
collection,
n = Inf,
flip = getOption(x = "acid.flip", default = TRUE),
labels = list(title = TRUE, subtitle = TRUE)
)
object |
Object. |
contrast |
|
collection |
|
n |
|
flip |
|
labels |
|
... |
Additional arguments. |
Only plots gene sets that pass adjusted P value cutoff, defined by
alphaThreshold
.
ggplot
.
Updated 2023-08-15.
Inspired by example in Stephen Turner's DESeq to fgsea guide.
data(fgsea)
## FgseaList ====
object <- fgsea
alphaThreshold(object) <- 0.9
contrast <- contrastNames(object)[[1L]]
collection <- collectionNames(object)[[1L]]
plotNes(
object = object,
contrast = contrast,
collection = collection,
n = 10L
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.