plot_agg_regions: Plot aggregate regions

Description Usage Arguments Value

View source: R/plot_agg_regions.R

Description

Plot aggregate regions

Usage

1
2
3
4
5
6
7
8
plot_agg_regions(
  x,
  regions,
  groups = NULL,
  flank = 2000,
  stranded = TRUE,
  span = 0.05
)

Arguments

x

the NanoMethResult object.

regions

a table of regions or GRanges, or a list of such objects. The table of regions must contain chr, start and end columns.

groups

if 'features' is a list, a vector of characters of the same length as the list containing names for each member.

flank

the number of flanking bases to add to each side of each region.

stranded

TRUE if negative strand features should have coordinates flipped to reflect features like transcription start sites.

span

the span for loess smoothing.

Value

a ggplot object.


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