Description Usage Arguments Value Examples
View source: R/simulate.gaussian.peaks.R
simulate.gaussian.peaks
1 2 3 4 5 6 7 8 9 10 11 |
MU |
An integer vector of means used to simulate a mixture of Gaussians. Values represent the mean bp, counted from the starting position of the transcript coordinate. |
SD |
An integer vector of standard deviations used to simulate a mixture of Gaussians. Units are in bp. |
EXTEND.WIDTH |
An integer vector of widths of peaks in bp. |
NSAMPLES |
An integer vector |
GENE |
The name of a gene in the GTF file on which to simulate peaks |
GTF |
The path to a GTF file used to simulate RNA peaks |
SEED |
A seed for reproducibility |
A data.frame in BED12 format, with an extra 'sample' column which can be used as input to ConsistentPeaks, PEAKS input
1 2 3 4 5 6 7 8 9 10 11 | gtf.path = system.file("extdata", package = "ConsensusPeaks")
gtf = paste0(gtf.path, "/test.gtf")
simulate.gaussian.peaks(
MU = c(100, 150),
SD = c(10, 20),
EXTEND.WIDTH = c(50, 25),
NSAMPLES = c(10, 30),
GENE = "ENSGXX",
GTF = gtf,
SEED = 123
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.