GenomicInteractions (version 1.6.2)

plotCounts: 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

Run this code
data(hic_example_data)
plotCounts(hic_example_data)
plotCounts(hic_example_data, normalise=TRUE)

Run the code above in your browser using DataLab