Description Usage Arguments Value Author(s) Examples
View source: R/methylInheritanceSimInternalMethods.R
Validation of all parameters needed by the public
runSim
function. Only integer parameters are validated.
1 2 | validateRunSimIntegerParameters(nbSynCHR, nbSimulation, nbBlock, nbCpG,
vNbSample, nbGeneration, minReads, meanCov, nbCores, vSeed)
|
nbSynCHR |
a positive |
nbSimulation |
a positive |
nbBlock |
a positive |
nbCpG |
a positive |
vNbSample |
a |
nbGeneration |
a positive |
minReads |
a positive |
meanCov |
a positive |
nbCores |
a positive |
vSeed |
a |
0
indicating that the function has been successful.
Pascal Belleau, Astrid Deschenes
1 2 3 4 5 | ## The function returns 0 when all paramaters are valid
methInheritSim:::validateRunSimIntegerParameters(nbSynCHR = 1,
nbSimulation = 2, nbBlock = 10, nbCpG = 4, vNbSample = 10,
nbGeneration = 3, minReads = 10, meanCov = 80,
nbCores = 1, vSeed = -1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.