Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

runGSEA

Analyze biological interpretations of metagene


Description

Identify the biological pathways (gene sets from Reactome) that each metagene (factor) might belongs to.

Usage

runGSEA(
  object,
  gene_sets = c(),
  mat_w = TRUE,
  mat_v = 0,
  custom_gene_sets = c()
)

Arguments

object

liger 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

Value

A list of matrices with GSEA analysis for each factor

Examples

## Not run: 
# ligerex (liger object), factorization complete
wilcox.results <- runGSEA(ligerex)
wilcox.results <- runGSEA(ligerex, mat_v = c(1, 2))

## End(Not run)

rliger

Linked Inference of Genomic Experimental Relationships

v1.0.0
GPL-3
Authors
Joshua Welch [aut, ctb], Chao Gao [aut, ctb, cre], Jialin Liu [aut, ctb], Joshua Sodicoff [aut, ctb], Velina Kozareva [aut, ctb], Evan Macosko [aut, ctb], Paul Hoffman [ctb], Ilya Korsunsky [ctb], Robert Lee [ctb]
Initial release
2021-04-18

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.