View source: R/wiggle_smooth.R
wiggle_smooth | R Documentation |
This function allows you to smooth wiggle data using a sliding window.
wiggle_smooth(wiggleData, chrNumber, bandwidth = 200, useKsmooth = FALSE)
wiggleData |
Accepts input in one of the following formats:
No default. |
chrNumber |
An integer representing the chromosome to smooth. Will be ignored
in case the provided |
bandwidth |
An integer representing the length of the smoothing window in bp
(or the Gaussian kernel bandwith, if |
useKsmooth |
Boolean indicating choice of smoothing function:
Defaults to |
An R data frame with two columns: genome position and smoothed signal.
## Not run:
wiggle_smooth(WT, 1, 200)
wiggle_smooth(rec8, 16, 100)
wiggle_smooth(WT[[5]], bandwidth = 1000)
wiggle_smooth(WT[[9]], bandwidth = 1000, useKsmooth = T)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.