Description Usage Arguments Value Author(s) Examples
View source: R/rjmcmcMethodsIntern.R
Merge nucleosome information present in multiple RDS files.
1 | mergeAllRDSFiles(arrayOfFiles)
|
arrayOfFiles |
a |
a list
of class
"rjmcmcNucleosomesMerge" containing:
k a integer
, the number of nucleosomes.
mu
a GRanges
containing the positions of the
nucleosomes.
Pascal Belleau, Astrid Deschenes
1 2 3 4 5 6 7 8 9 10 11 12 | ## Loading two files containing nucleosomes informations for two sections of
## the same chromosome
file_1 <- dir(system.file("extdata", package = "RJMCMCNucleosomes"),
pattern = "RJMCMC_seg_01.RDS",
full.names = TRUE)
file_2 <- dir(system.file("extdata", package = "RJMCMCNucleosomes"),
pattern = "RJMCMC_seg_02.RDS",
full.names = TRUE)
## Merging nucleosomes informations from the two files
result <- RJMCMCNucleosomes:::mergeAllRDSFiles(c(file_1, file_2))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.