## 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
nucleoSim:::syntheticNucReadsValidation(read.len = 0, offset = 100)
nucleoSim:::syntheticNucReadsValidation(read.len = 30, offset = -1)Run the code above in your browser using DataLab