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

Description Usage Arguments Value Examples

View source: R/plotSummaryStats.R

Description

Plots a histogram of interaction distances for a GInteractions Object

Usage

1
2
3
4
5
plotDists(
  GIObject,
  breaks = c(0, 1000, 5000, 10000, 50000, 100000, 500000, 1000000, 2000000),
  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

1
2

GenomicInteractions documentation built on Nov. 8, 2020, 8:19 p.m.