testIfAlreadyDone: Test if a specific simulation has already be done.

Description Usage Arguments Value Author(s) Examples

View source: R/methylInheritanceSimInternalMethods.R

Description

Test if a specific simulation has already be done.

Usage

1
2
testIfAlreadyDone(pathOut, preference, id, saveGRanges, saveMethylKit,
  runAnalysis)

Arguments

pathOut

a string of character, the path where the files are saved.

preference

a string of character representing the parameters of specific simulation.

id

a positive integer, a ID for the current simulation.

saveGRanges

a logical, when true, files containing GRangeaList are saved.

saveMethylKit

a logical, when TRUE, files methylRawList object are saved.

runAnalysis

a logical, when TRUE, two files related to the analysis are saved.

Value

logical indicating if the simulation has already done.

Author(s)

Pascal Belleau, Astrid Deschenes

Examples

1
2
3
4
5
## Return TRUE when the specified simulation has already be done;
## otherwise, return FALSE.
methInheritSim:::testIfAlreadyDone(pathOut = ".", 
preference = "S1_6_0.9_0.8_0.5", id = 33, 
saveGRanges = FALSE, saveMethylKit = FALSE, runAnalysis = FALSE)

belleau/methInheritSim documentation built on Dec. 4, 2018, 8:01 a.m.