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

ArnaudDroitLab/RJMCMC documentation built on Sept. 13, 2017, 5:48 a.m.