dmrPlotAnnotations: Add annotations to DMR plots

View source: R/internal_plotting_functions.R

dmrPlotAnnotationsR Documentation

Add annotations to DMR plots

Description

Function to add visual representation of CpG categories and/or coding sequences to DMR plot

Usage

dmrPlotAnnotations(gr, annoTrack)

Arguments

gr

a GRanges object that contains the DMRs to be plotted

annoTrack

a SimpleGRangesList object with two elements. The first contains CpG category information in the first element (optional) coding gene sequence information in the second element (optional). At least one of these elements needs to be non-null in order for any annotation to be plotted, but it is not necessary to contain both.

Details

An internal function that takes an annotation SimpleGRangesList object that contains CpG category information in the first element (optional) and / or coding gene sequence information in the second element (optional). If neither of these are present, then nothing will be plotted.

Value

None


kdkorthauer/dmrseq documentation built on Sept. 26, 2024, 9:32 p.m.