Skip to contents

For each peak, plot a scatter of the peak length vs the number of UMIs per scale bp.

Usage

plot_peak_coverage_density(atac, scale = 100, pointsize = 1.5, ...)

Arguments

atac

an ScPeaks or McPeaks object

scale

for the 'cov_density' field, calculate the number of UMIs per scale bp (default: 100)

pointsize

Radius of rasterized point. Use 0 for single pixels (fastest).

...

Arguments passed on to scattermore::geom_scattermore

na.rm

Remove NA values, just as with ggplot2::geom_point().

interpolate

Default FALSE, passed to grid::rasterGrob().

pixels

Vector with X and Y resolution of the raster, default c(512,512).

Examples

if (FALSE) {
plot_peak_coverage_density(atac)
}