createOutputDir {methylInheritance} | R Documentation

## Create directories that will contained the results of the permutations in RDS format

### Description

Create directories that will contained the results of the permutations in RDS format.

### Usage

    createOutputDir(outputDir, doingSites = TRUE, doingTiles = FALSE,
      saveInfoByGeneration)

### Arguments

`outputDir` | a string of `character`, the name of the main directory to be created.
`doingSites` | a `logical`, a directory consecrated to contain the results of the permutation analysis for sites is created when `doingSites` = `TRUE`. Default: `TRUE`.
`doingTiles` | a `logical`, a directory consecrated to contain the results of the permutation analysis for tiles is created when `doingTiles` = `TRUE`. Default: `FALSE`.
`saveInfoByGeneration` | a `logical`, when `TRUE`, the information about differentially methylated sites and tiles for each generation is saved in a RDS file. The information is saved in a different file for each permutation.

### Value

`0` when all directories are created without problem.

### Author(s)

Astrid Deschenes

### Examples

    ## Create an output directory for SITES only
    methylInheritance:::createOutputDir(outputDir = "testSites",
        doingSites = TRUE, doingTiles = FALSE, saveInfoByGeneration = TRUE)

[Package methylInheritance version 1.14.0 Index]