Plot DMR CpG or gene region enrichment testing results
from DMRichR::DMRichGenic() or DMRichR::DMRichCpG().
Usage
DMRichPlot(data = data, type = c("CpG", "genic"), multi = FALSE)Arguments
- data
A
tibblefromDMRichR::DMRichGenic()orDMRichR::DMRichCpG().- type
A character vector of the type of results to plot i.e. c("CpG", "genic").
- multi
A logical indicating whether to create facets from
DMRichR::DMparseR)output.
Value
A ggplot object of enrichment results that can be viewed by calling it,
saved with ggplot2::ggsave(), or further modified by adding ggplot2 syntax.
