plotNeighborDist {GenomicDistributions}R Documentation

Plot the distances between neighboring regions.The distance in the x axis is log10 transformed for ease of comparison between different regionsets and to account for outliers.

Description

Plot the distances between neighboring regions.The distance in the x axis is log10 transformed for ease of comparison between different regionsets and to account for outliers.

Usage

plotNeighborDist(dcvec)

Arguments

dcvec

A numeric vector or list with vectors containing distances between neighbor regions. Produced by calcNeighborDist

Value

A ggplot density object showing the distribution of log10 transformed distances.

Examples

numVector = rnorm(400, mean=5, sd=0.1)
d = plotNeighborDist(numVector)

[Package GenomicDistributions version 1.2.0 Index]