plotDists: Plots a histogram of interaction distances for a...

View source: R/plotSummaryStats.R

plotDistsR Documentation

Plots a histogram of interaction distances for a GInteractions Object

Description

Plots a histogram of interaction distances for a GInteractions Object

Usage

plotDists(
  GIObject,
  breaks = c(0, 1000, 5000, 10000, 50000, 1e+05, 5e+05, 1e+06, 2e+06),
  method = "midpoint"
)

Arguments

GIObject

A GInteractions object

breaks

A numeric vector of breaks for the histogram

method

Method used for distance between anchors. Passed to calculateDistances. One of 'midpoint', 'inner', or 'outer'.

Value

A ggplot2 plot

Examples

data(hic_example_data)
plotDists(hic_example_data)

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