smooth.wig: Smooth a wig plot in rphast

Description Usage Arguments Value Author(s)

View source: R/plot.R

Description

Smooth a wig plot in rphast

Usage

1
smooth.wig(coord, score, numpoints = 300)

Arguments

coord

The x coordinates of un-smoothed plot

score

The scores cooresponding to the x coordinates (should be same length as coord)

numpoints

The number of points to use in the new plot

Value

A data frame with numpoints rows and columns "coord" and "score" with smoothed values. If length(coord) <= numpoints, it will contain the original data

Author(s)

Melissa J. Hubisz


rphast documentation built on May 1, 2019, 9:26 p.m.