KYCG_plotSetEnrichment: Plot Set Enrichment

View source: R/KYCG_plot.R

KYCG_plotSetEnrichmentR Documentation

Plot Set Enrichment

Description

Plot Set Enrichment

Usage

KYCG_plotSetEnrichment(result, n_sample = 1000, n_presence = 200)

Arguments

result

result object as returned from an element of the list of testEnrichmentSEA(..., prepPlot=TRUE)

n_sample

number of CpGs to sample

n_presence

number of overlap to sample for the plot

Value

grid object for plot

Examples

query <- KYCG_getDBs("KYCG.MM285.designGroup")[["VMR"]]
db <- KYCG_getDBs("MM285.seqContextN", "distToTSS")
res <- testEnrichmentSEA(query, db, prepPlot = TRUE)
KYCG_plotSetEnrichment(res[[1]])


zwdzwd/sesame documentation built on April 28, 2024, 12:48 p.m.