createOutputDir: Create directories that will contained the results of the...

Description Usage Arguments Value Author(s) Examples

View source: R/methylInheritanceInternalMethods.R

Description

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

Usage

1
2
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

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

methylInheritance documentation built on Nov. 8, 2020, 8:21 p.m.