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 Oct. 22, 2024, 9:41 p.m.