plotColumnCounts: Plot categorized metacolumns of ranged data.

View source: R/plotting.R

plotColumnCountsR Documentation

Plot categorized metacolumns of ranged data.

Description

This function counts categorcal variables stored as metacolumn in GRanges-class object.

Usage

plotColumnCounts(gr, colName = "gen", facetID = NULL, colors = NULL)

Arguments

gr

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

colName

A metacolumn name to be sumarized and plotted.

colors

A user defined set of colors used for plotting.

facedID

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

Value

A ggplot object.

Author(s)

David Porubsky


daewoooo/primatR documentation built on Oct. 22, 2024, 9:41 p.m.