Description Usage Arguments Value Author(s) Examples
Use of a fully Bayesian hierarchical model for chromosome-wide profiling of nucleosome positions based on high-throughput short-read data (MNase-Seq data). Beware that for a genome-wide profiling, each chromosome must be treated separatly. This function is optimized to run on segments that are smaller sections of the chromosome.
1 2 3 |
reads |
a |
seqName |
a |
nbrIterations |
a positive |
kMax |
a positive |
lambda |
a positive |
minInterval |
a |
maxInterval |
a |
minReads |
a positive |
adaptIterationsToReads |
a |
vSeed |
a |
saveAsRDS |
a |
a list
of class
"rjmcmcNucleosomes" containing:
call
the matched call.
k
a integer
, the final estimation of the number
of nucleosomes. 0
when no nucleosome is detected.
mu
a GRanges
containing the positions of the
nucleosomes and '*' as strand. The seqnames
of the GRanges
correspond to the seqName
input value. NA
when no nucleosome
is detected.
k_max
a integer
, the maximum number of nucleosomes
obtained during the iteration process. NA
when no nucleosome is
detected.
Rawane Samb, Pascal Belleau, Astrid Deschenes
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | ## Loading dataset
data(reads_demo_01)
## Nucleosome positioning, running both merge and split functions
result <- rjmcmc(reads = reads_demo_01, seqName = "chr_SYNTHETIC",
nbrIterations = 1000, lambda = 2, kMax = 30,
minInterval = 146, maxInterval = 292, minReads = 5,
vSeed = 10113, saveAsRDS = FALSE)
## Print the final estimation of the number of nucleosomes
result$k
## Print the position of nucleosomes
result$mu
## Print the maximum number of nucleosomes obtained during the iteration
## process
result$k_max
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.