DMRichPlot: Plot gene region and CpG annotation enrichment testing

View source: R/DMRich.R

DMRichPlotR Documentation

Plot gene region and CpG annotation enrichment testing

Description

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 tibble from DMRichR::DMRichGenic() or DMRichR::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.

Details

DMRichPlot

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.


ben-laufer/DMRichR documentation built on Oct. 1, 2023, 7:25 a.m.