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 documentation built on April 16, 2022, 4:09 a.m.