Description Usage Arguments Value Author(s) Examples
View source: R/nucleoSimInternFunctions.R
Validate that identical values passed to both
syntheticNucReadsFromMap
and syntheticNucReadsFromDist
functions are correctly formatted.
1 | syntheticNucReadsValidation(read.len, offset)
|
read.len |
a positive |
offset |
a non-negative |
0
indicating that all parameters validations have been
successful.
Astrid Deschenes
1 2 3 4 5 6 | ## The function returns 0 when all paramaters are valid
nucleoSim:::syntheticNucReadsValidation(read.len = 40, offset = 100)
## The function raises an error when at least one paramater is not valid
## Not run: nucleoSim:::syntheticNucReadsValidation(read.len = 0, offset = 100)
## Not run: nucleoSim:::syntheticNucReadsValidation(read.len = 30, offset = -1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.