mergeAllRDSFiles: Merge nucleosome information

Description Usage Arguments Value Author(s) Examples

View source: R/rjmcmcMethodsIntern.R

Description

Merge nucleosome information present in multiple RDS files.

Usage

1
mergeAllRDSFiles(arrayOfFiles)

Arguments

arrayOfFiles

a array, the name of each file that must be used to merge nucleosome information.

Value

a list of class "rjmcmcNucleosomesMerge" containing:

Author(s)

Pascal Belleau, Astrid Deschenes

Examples

 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))

RJMCMCNucleosomes documentation built on Nov. 8, 2020, 8:20 p.m.