plotColumnCountsPerChr: Plot categorized metacolumns of ranged data per chromosome.

plotColumnCountsPerChrR Documentation

Plot categorized metacolumns of ranged data per chromosome.

Description

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

Usage

plotColumnCountsPerChr(
  gr,
  colName = "gen",
  facetID = NULL,
  normChrSize = FALSE
)

Arguments

gr

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

colName

A metacolumn name to be sumarized and plotted.

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.