runGSEA | R Documentation |
Identify the biological pathways (gene sets from Reactome) that each metagene (factor) might belongs to.
runGSEA(
object,
gene_sets = c(),
mat_w = TRUE,
mat_v = 0,
custom_gene_sets = c()
)
object |
|
gene_sets |
A list of the Reactome gene sets names to be tested. If not specified, this function will use all the gene sets from the Reactome by default |
mat_w |
This indicates whether to use the shared factor loadings 'W' (default TRUE) |
mat_v |
This indicates which V matrix to be added to the analysis. It can be a numeric number or a list of the numerics. |
custom_gene_sets |
A named list of character vectors of entrez gene ids. If not specified, this function will use all the gene symbols from the input matrix by default |
A list of matrices with GSEA analysis for each factor
ligerex <- createLiger(list(ctrl = ctrl, stim = stim))
ligerex <- normalize(ligerex)
ligerex <- selectGenes(ligerex)
ligerex <- scaleNotCenter(ligerex)
# Specification for minimal example run time, not converging
ligerex <- optimizeALS(ligerex, k = 5, max.iters = 1)
result <- runGSEA(ligerex)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.