View source: R/get_gsea_path.R
get_gsea_path | R Documentation |
This function performs gene set enrichment analysis (GSEA) based on multiplex network data.
get_gsea_path(
seed = seed,
network = network,
gamma = 0.7,
pathlist = pathlist,
gsea.weight = 1,
gsea.nperm = 1000
)
seed |
A seed value (optional). |
network |
A network object (e.g., protein-protein interaction network). |
gamma |
A parameter for random walk restart (default: 0.7). |
pathlist |
A predefined list of gene sets (pathways). |
gsea.weight |
Weight for GSEA (default: 1). |
gsea.nperm |
Number of permutations for significance testing (default: 1000). |
The function constructs a multiplex network, performs random walk restart, and calculates gene scores. It then transforms the scores and applies GSEA using the provided gene sets.
A GSEA result object.
data(Seeds, package = "iPRISM")
data(ppi, package = "iPRISM")
data(path_list, package = "iPRISM")
result <- get_gsea_path(seed = Seeds,
network = ppi,
pathlist = path_list[1:2],
gsea.nperm = 100)
print(result)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.