rangesSizeDistribution: Plot sorted size distribution of ranged data.

rangesSizeDistributionR Documentation

Plot sorted size distribution of ranged data.

Description

This function take GRanges-class object and plot width distribution of all ranges per variable stored in metacolumn field 'ID'

Usage

rangesSizeDistribution(
  gr,
  plotUniqueBases = FALSE,
  violin = FALSE,
  colors = NULL,
  title = NULL
)

Arguments

gr

A GRanges-class object with metadata columns to be summarized and plotted.

plotUniqueBases

Set to TRUE if you want to plot size of unique bases per range.

violin

Set to TRUE if you want plot violo_plot instead of dot_plot.

colors

A user defined set of colors used for plotting.

title

A user defined title of the plot.

Value

A ggplot object.

Author(s)

David Porubsky


daewoooo/primatR documentation built on March 28, 2024, 6:41 a.m.