runGSEA | R Documentation |
Identify the biological pathways (gene sets from Reactome) that each metagene (factor) might belongs to.
runGSEA(
object,
genesets = NULL,
useW = TRUE,
useV = NULL,
customGenesets = NULL,
gene_sets = genesets,
mat_w = useW,
mat_v = useV,
custom_gene_sets = customGenesets
)
object |
A liger object with valid factorization result. |
genesets |
Character vector of the Reactome gene sets names to be
tested. Default |
useW |
Logical, whether to use the shared factor loadings ( |
useV |
A character vector of the names, a numeric or logical
vector of the index of the datasets where the |
customGenesets |
A named list of character vectors of entrez gene ids.
Default |
gene_sets , mat_w , mat_v , custom_gene_sets |
Deprecated. See Usage section for replacement. |
A list of matrices with GSEA analysis for each factor
if (requireNamespace("org.Hs.eg.db", quietly = TRUE) &&
requireNamespace("reactome.db", quietly = TRUE) &&
requireNamespace("fgsea", quietly = TRUE) &&
requireNamespace("AnnotationDbi", quietly = TRUE)) {
runGSEA(pbmcPlot)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.