Description Usage Arguments Value Author(s) Examples
View source: R/methylInheritanceInternalMethods.R
Validation of some parameters needed by the public
loadConvergenceData
function.
1 2 | validateLoadConvergenceData(analysisResultsDir, permutationResultsDir,
position, by)
|
analysisResultsDir |
a |
permutationResultsDir |
a |
position |
a positive |
by |
a |
0
indicating that all parameters validations have been
successful.
Astrid Deschenes, Pascal Belleau
1 2 3 4 5 6 7 8 9 10 11 12 | ## Get the name of the directory where files are stored
filesDir <- system.file("extdata", "TEST", package="methylInheritance")
## Merge permutation and observation results
methylInheritance:::validateLoadConvergenceData(analysisResultsDir =
filesDir, permutationResults = filesDir, position = 1, by = 1)
## The function raises an error when at least one paramater is not valid
## Not run: methylInheritance:::validateLoadConvergenceData(
analysisResultsDir = filesDir, permutationResults = filesDir,
position = "hello", by = 1))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.