plotCounts: Plot a bar chart of the number of interactions supported by...

View source: R/plotSummaryStats.R

plotCountsR Documentation

Plot a bar chart of the number of interactions supported by different numbers of reads in your data.

Description

Plot a bar chart of the number of interactions supported by different numbers of reads in your data.

Usage

plotCounts(GIObject, normalise = FALSE, cut = 10)

Arguments

GIObject

A GInteractions object.

normalise

Logical. If TRUE, plots proportion of total reads instead of count.

cut

Numeric, can be NULL. Default: 10. All interactions with counts > cut are consolidated into a single category.

Value

A ggplot2 plot

Examples

data(hic_example_data)
plotCounts(hic_example_data)
plotCounts(hic_example_data, normalise=TRUE)

ComputationalRegulatoryGenomicsICL/GenomicInteractions-new documentation built on April 10, 2022, 5:39 p.m.