mCSEAPlotGSEA: Plot mCSEA results

View source: R/mCSEAPlotGSEA.R

mCSEAPlotGSEAR Documentation

Plot mCSEA results

Description

Generate an enrichment plot

Usage

mCSEAPlotGSEA(rank, mCSEAResults, regionType, dmrName)

Arguments

rank

A named numeric vector with the ranking statistic of each CpG site

mCSEAResults

The object generated by mCSEATest function

regionType

The region type to be represented. Must be one of "promoters", "genes", "CGI" or "custom"

dmrName

The DMR of interest to be represented (e.g. gene name, CGI name...)

Value

'NULL'

Author(s)

Jordi Martorell Marugán, jordi.martorell@genyo.es

References

Subramanian, A. et al (2005). Gene set enrichment analysis: A knowledge-based approach for interpreting genome-wide expression profiles . PNAS 102, 15545-15550.

See Also

rankProbes, mCSEATest, mCSEAPlot

Examples

## Not run: 
library(mCSEAdata)
data(mcseadata)
myRank <- rankProbes(betaTest, phenoTest, refGroup = "Control")
set.seed(123)
myResults <- mCSEATest(myRank, regionsTypes = "promoters",
platform = "EPIC")

## End(Not run)
data(precomputedmCSEA)
mCSEAPlotGSEA(myRank, myResults, "promoters", "CLIC6")

jordimartorell/mCSEA documentation built on Dec. 8, 2024, 10:32 a.m.