dmrPlotAnnotations: Add annotations to DMR plots

Description Usage Arguments Details Value

View source: R/internal_plotting_functions.R

Description

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

Usage

1
dmrPlotAnnotations(gr, annoTrack)

Arguments

gr

a GRanges object that contains the DMRs to be plotted

annoTrack

a SimpleGenomicRangesList 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 SimpleGenomicRangesList 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


dmrseq documentation built on April 18, 2021, 6 p.m.