View source: R/nucleoSimInternFunctions.R
syntheticNucReadsValidation | R Documentation |
syntheticNucReadsFromMap
and syntheticNucReadsFromDist
functions.Validate that identical values passed to both
syntheticNucReadsFromMap
and syntheticNucReadsFromDist
functions are correctly formatted.
syntheticNucReadsValidation(read.len, offset)
read.len |
a positive |
offset |
a non-negative |
0
indicating that all parameters validations have been
successful.
Astrid Deschenes
## 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.