Description Usage Arguments Value Author(s) Examples
This helper function creates a set of random peaks with a predefined range for height and width in near-cis. If a fragment library is provided, peak centers are located on a fragment position.
1 2 | makeRandomPeaks(vpStart, vpRegionDist = 100000, peakNumber = 6,
rmaxRange = c(1500, 3000), rsdRange = c(500, 1000), fragmentLibrary = "none")
|
vpStart |
viewpoint position |
vpRegionDist |
length of viewpoint region to either side of the viewpoint where peaks can be simulated |
peakNumber |
number of peaks to simulate |
rmaxRange |
range of simulated peaks' heights (maximum) |
rsdRange |
range of simulated peaks' widths (standard deviation) |
fragmentLibrary |
optional fragment library with valid fragment positions; if one is provided, peak centers are located at a valid fragment position |
Data frame with random peak data for use in addPeak
when creating similar, but not identical simulated replicate data
Carolin Walter
1 2 3 4 | if(interactive()) {
vpStart = 69999869
makeRandomPeaks(peakNumber=6, vpStart)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.