Description Usage Arguments Value Author(s) Examples
Generate a graph for
a GRanges
or a GRangesList
of nucleosome positions. In
presence of only one prediction (with multiples nucleosome positions), a
GRanges
is used. In presence of more thant one predictions (as
example, before and after post-treatment or results from
different software), a GRangesList
with
one entry per prediction is used. All predictions must have been obtained
using the same reads.
1 2 | plotNucleosomes(nucleosomePositions, reads, seqName = NULL,
xlab = "position", ylab = "coverage", names = NULL)
|
nucleosomePositions |
a |
reads |
a |
seqName |
a |
xlab |
a |
ylab |
a |
names |
a |
a graph containing the nucleosome positions and the read coverage
Astrid Deschenes
1 2 3 4 5 6 7 8 9 10 11 12 13 | ## Load reads dataset
data(reads_demo_01)
## Run RJMCMC method
result <- rjmcmc(reads = reads_demo_01,
seqName = "chr_SYNTHETIC",
nbrIterations = 4000, lambda = 2, kMax = 30,
minInterval = 146, maxInterval = 292, minReads = 5,
vSeed = 10213)
## Create graph using the synthetic map
plotNucleosomes(nucleosomePositions = result$mu, seqName = "chr_SYNTHETIC",
reads = reads_demo_01)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.