Description Usage Arguments Value Author(s) Examples
Merge nucleosome information present in RDS files into one
object of class
"rjmcmcNucleosomesMerge".
1 | mergeRDSFiles(RDSFiles)
|
RDSFiles |
a |
a list
of class
"rjmcmcNucleosomesMerge" containing:
k a integer
, the number of nucleosomes.
mu a vector
of numeric
of length
k
, the positions of the nucleosomes.
sigmaf a vector
of numeric
of length
k
, the variance of the forward reads for each nucleosome.
sigmar a vector
of numeric
of length
k
, the variance of the reverse reads for each nucleosome.
delta a vector
of numeric
of length
k
, the distance between the maxima of the forward and
reverse reads position densities for each nucleosome.
Pascal Belleau, Astrid Deschenes
1 2 3 4 5 6 7 8 9 10 11 12 13 | ## Use RDS files present in the RJMCMC package
RDSFiles <- dir(system.file("extdata", package = "RJMCMC"),
full.names = TRUE, pattern = "*rds")
## Merge nucleosomes info from RDS files present in directory
result <- mergeRDSFiles(RDSFiles)
## Print the number and the position of the nucleosomes
result$k
result$mu
## Class of the output object
class(result)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.