dmrPlotAnnotations {dmrseq} | R 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 `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

[Package dmrseq version 1.8.0 Index]