Description Usage Arguments Value Author(s) Examples
A internal helper function which merges closely positioned nucleosomes to rectify the over splitting and provide a more conservative approach. Beware that each chromosome must be treated separatly.
The function uses the Bioconductor package
consensusSeeker
to
group closely positioned nucleosomes.
1 2 | postMerge(startPosForwardReads, startPosReverseReads, resultRJMCMC,
extendingSize, chrLength, minReads = 5)
|
startPosReverseReads |
a |
resultRJMCMC |
an object of class 'rjmcmcNucleosomes' or 'rjmcmcNucleosomesMerge' containing informations about nucleosomes. |
extendingSize |
a positive |
chrLength |
a positive |
minReads |
a positive |
startPosFrowardReads |
a |
a array
of numeric
, the updated values of the
nucleosome positions.
Pascal Belleau, Astrid Deschenes
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | ## Loading dataset
data(RJMCMC_result)
data(reads_demo)
## Results before post-treatment
RJMCMC_result$mu
## Post-treatment function which merged closely positioned nucleosomes
postResult <- RJMCMC:::postMerge(startPosForwardReads =
reads_demo$readsForward, startPosReverseReads = reads_demo$readsReverse,
resultRJMCMC = RJMCMC_result, extendingSize = 80, chrLength = 73500)
## Results after post-treatment
postResult
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.