Description Usage Arguments Value Author(s) Examples
View source: R/nucleoSimFunctions.R
Generate a graph for
a list marked as an syntheticNucReads
class
1 2 |
x |
a list marked as a |
... |
|
a graph of a synthetic nucleosome map containing forward and reverse reads
Astrid Deschenes, Rawane Samb
1 2 3 4 5 6 7 8 9 10 | ## Generate a synthetic map with 20 well-positioned nucleosomes, 5 fuzzy
## nucleosomes and 10 deleted nucleosomes using a Student distribution
## with a variance of 10 for the well-positioned nucleosomes,
## a variance of 20 for the fuzzy nucleosomes and a seed of 15
syntheticNucSample <- syntheticNucReadsFromDist(wp.num = 30, wp.del = 10,
wp.var = 10, fuz.num = 5, fuz.var = 20, rnd.seed = 15,
distr = "Student", offset = 1000)
## Create graph using the synthetic map
plot(syntheticNucSample, xlab="Position", ylab="Coverage")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.