plot_grange: Plot GRanges

Description Usage Arguments Value Examples

View source: R/plot_grange.R

Description

Plot GRanges

Usage

1
plot_grange(x, grange, anno_regions = NULL, spaghetti = FALSE, span = NULL)

Arguments

x

the NanoMethResult object.

grange

the GRanges object with one entry.

anno_regions

the data.frame of regions to be annotated

spaghetti

whether or not individual reads should be shown.

span

the span for loess smoothing.

Value

a ggplot object.

a ggplot object.

Examples

1
2
nmr <- load_example_nanomethresult()
plot_grange(nmr, GRanges("chr7:6703892-6730431"))

NanoMethViz documentation built on Nov. 8, 2020, 4:51 p.m.