donutPlot: simple function for a donut plot of state width/count...

View source: R/donutPlot.R

donutPlotR Documentation

simple function for a donut plot of state width/count fractions

Description

by default, use genomeFrac to determine how much of each state is represented

Usage

donutPlot(
  gs,
  text = NULL,
  colorScheme = NULL,
  ...,
  fracSize = 5,
  legend = FALSE
)

Arguments

gs

a GenomicSegmentation or similar, or a data.frame

text

text to put in the middle of the donut (NULL)

colorScheme

named vector of colors (default is simplified REMC)

...

additional arguments to pass to genomeFrac

fracSize

how big the text should be (5x typical label)

legend

legend? (FALSE; no legend)

Value

a plot


ttriche/chromophobe documentation built on Oct. 14, 2024, 11:59 a.m.