plotCounts {GenomicInteractions} | R 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)

[Package GenomicInteractions version 1.18.1 Index]