plotDistanceWeights: Plot weights versus distance

Description Usage Arguments Value Examples

Description

Plot weights between peaks as a function of the distance between them

Usage

1
2
plotDistanceWeights(xlim = c(0, 3e+07), decay = 0.00016,
  maxWeight = 0.8, windowSize = 5e+06)

Arguments

xlim

min and max of values on x-axis

decay

parameter

maxWeight

maximum weight when distance is zero

windowSize

width of window in bp around each interval beyond which weight is zero

Value

ggplot

Examples

1
2
3
4
5
decay = 1.6e-4
maxWeight = 0.8
windowSize = 5e6

plotDistanceWeights( c(0, 3e7), decay, maxWeight, windowSize)

GabrielHoffman/pinnacle documentation built on May 3, 2019, 3:02 p.m.