plotGeneSetEval: Plot Enrichment Scores for Each Pathway in a Cluster

Description Usage Arguments Value Examples

View source: R/plotGeneSetEval.R

Description

A function that plots gene set enrichment analysis results for a cluster in order to visualize biological differences between clusters.

Usage

1
plotGeneSetEval(gseas, clustname = "")

Arguments

gseas

A list containing enrichment values for each pathway in a cluster

clustname

A string or integer containing the name of the cluster. Used in the title of the plot.

Value

A plot for one cluster from a clustering output showing the enriched pathways for that cluster.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
# Example:
## Not run: 
data(embryo)
data(embryoClusts)
# Compute pathways for the first clustering output
data(embryo)
data(embryoClusts)
GMTPath <- system.file("extdata", "h.all.v7.4.symbols.gmt", package = "clustREval")
geneSetRes <- geneSetEval(embryo, embryoClusts[[1]], GMTPath)
plotGeneSetEval(geneSetRes[[1]])

## End(Not run)

cindyfang70/clustREval documentation built on Dec. 19, 2021, 4:59 p.m.