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 an entire chromosome.
The function will process by splittingg the GRanges of reads
(as example, the reads from a chromosome) in a list of smaller
GRanges segments that can be run by the
rjmcmc function. All those steps are done automatically.
1 2 3 4 |
reads |
a |
seqName |
a |
zeta |
a positive |
delta |
a positive |
maxLength |
a positive |
nbrIterations |
a positive |
kMax |
a positive |
lambda |
a positive |
minInterval |
a |
maxInterval |
a |
minReads |
a positive |
adaptIterationsToReads |
a |
vSeed |
a |
nbCores |
a positive |
dirOut |
a |
saveAsRDS |
a |
saveSEG |
a |
a list of class
"rjmcmcNucleosomesBeforeAndAfterPostTreatment" containing:
k a integer, the number of nucleosomes.
mu a GRanges containing the positions of the nucleosomes.
kPost a integer, the number of nucleosomes after
post-treatment and '*' as strand. The seqnames of the GRanges
correspond to the seqName input value. NA when no nucleosome
is detected.
muPost a GRanges containing the positions of the
nucleosomes after post-treament and '*' as strand. The seqnames
of the GRanges correspond to the seqName input value.
NA when no nucleosome is detected.
Pascal Belleau, Astrid Deschenes
1 2 3 4 5 6 7 8 9 10 11 12 | ## Load synthetic dataset of reads
data(syntheticNucleosomeReads)
## Use dataset of reads to create GRanges object
sampleGRanges <- GRanges(syntheticNucleosomeReads$dataIP)
## Run nucleosome detection on the entire sample
## Not run: result <- rjmcmcCHR(reads = sampleGRanges, zeta = 147, delta=50,
maxLength=1200, nbrIterations = 1000, lambda = 3, kMax = 30,
minInterval = 146, maxInterval = 292, minReads = 5, vSeed = 10113,
nbCores = 2, saveAsRDS = FALSE)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.