Description Usage Arguments Value Author(s) Examples
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 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 | ## Loading two files containing nucleosomes informations for two sections of
## the same chromosome
file_100 <- dir(system.file("extdata", package = "RJMCMC"),
pattern = "yeastRes_Chr1_Seg_100.rds",
full.names = TRUE)
file_101 <- dir(system.file("extdata", package = "RJMCMC"),
pattern = "yeastRes_Chr1_Seg_101.rds",
full.names = TRUE)
## Merging nucleosomes informations from the two files
result <- RJMCMC:::mergeAllRDSFiles(c(file_100, file_101))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.