This function plots the cumulative distribution of regions across a feature set.

plotCumulativePartitions(assignedPartitions, feature_names = NULL)

Arguments

assignedPartitions

Results from calcCumulativePartitions

feature_names

An optional character vector of feature names, in the same order as the GenomicRanges or GenomicRangesList object.

Value

A ggplot object of the cumulative distribution of regions in features.

Examples

p = calcCumulativePartitionsRef(vistaEnhancers, "hg19")
cumuPlot = plotCumulativePartitions(p)