Description Usage Arguments Value Author(s) Examples
Validation of all parameters needed by the public
rjmcmc
function.
1 2 | validateParameters(startPosForwardReads, startPosReverseReads, nbrIterations,
kMax, lambda, minInterval, maxInterval, minReads, adaptIterationsToReads)
|
startPosForwardReads |
a |
startPosReverseReads |
a |
nbrIterations |
a positive |
kMax |
a positive |
lambda |
a positive |
minInterval |
a |
maxInterval |
a |
minReads |
a positive |
adaptIterationsToReads |
a |
0
indicating that all parameters validations have been
successful.
Astrid Deschenes
1 2 3 4 5 6 7 8 9 10 11 12 | ## The function returns 0 when all paramaters are valid
RJMCMC:::validateParameters(startPosForwardReads = c(72400, 72431, 72428,
72429, 72426), startPosReverseReads = c(72520, 72523, 72521, 72533, 72511),
nbrIterations = 2, kMax = 10, lambda = 1, minReads = 1, minInterval = 100,
maxInterval = 200, adaptIterationsToReads = TRUE)
## The function raises an error when at least one paramater is not valid
## Not run: RJMCMC:::validateParameters(startPosForwardReads = c(72400, 72431,
72428, 72429, 72426), startPosReverseReads = NA,
nbrIterations = 2, kMax = 10, lambda = 1, minReads = 1, minInterval = 100,
maxInterval = 200, adaptIterationsToReads = TRUE)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.