validateRDSFilesParameters {RJMCMCNucleosomes} | R Documentation

## Parameters validation for the `mergeRDSFiles` function

### Description

Validation of all parameters needed by the public `mergeRDSFiles` function.

### Usage

    validateRDSFilesParameters(RDSFiles)

### Arguments

`RDSFiles` | a `array`, the names of all RDS used to merge nucleosome information. The files must contain R object of `class` "rjmcmcNucleosomes" or "rjmcmcNucleosomesMerge".

### Value

`0` indicating that all parameters validations have been successful.

### Author(s)

Astrid Deschenes

### Examples

    ## Loading a file
    file_test <- dir(system.file("extdata", package = "RJMCMCNucleosomes"),
    pattern = "RJMCMC_seg_02.RDS", full.names = TRUE)

    ## Testing using a real file
    RJMCMCNucleosomes:::validateRDSFilesParameters(file_test)

[Package RJMCMCNucleosomes version 1.10.0 Index]