eventsPerChrSizeScatter: Plots scatter of event counts to chromosome size

eventsPerChrSizeScatterR Documentation

Plots scatter of event counts to chromosome size

Description

Plots scatter of event counts to chromosome size

Usage

eventsPerChrSizeScatter(gr, bsgenome, colBy = NULL, facetID = NULL, lm = FALSE)

Arguments

gr

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

bsgenome

A GBSgenome-class object to provide chromosome lengths for plotting.

colBy

A metacolumn name to be used to color data by.

facetID

A metacolumn name to be used to split data in sub-plots.

lm

Set to TRUE if regression line should be added to the plot.

Value

A ggplot object.

Author(s)

David Porubsky


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