Description Usage Arguments Value Author(s) Examples
View source: R/methylInheritanceInternalMethods.R
Validation of some parameters needed by the public
extractInfo
function.
1 | validateExtractInfo(allResults, type, inter, position)
|
allResults |
a |
type |
One of the |
inter |
One of the |
position |
a positive |
0
indicating that all parameters validations have been
successful.
Astrid Deschenes
1 2 3 4 5 6 7 8 9 10 11 12 13 | ## Load dataset
data(methylInheritanceResults)
## The function returns 0 when all paramaters are valid
methylInheritance:::validateExtractInfo(
allResults = methylInheritanceResults, type = "sites",
inter = "i2", 2)
## The function raises an error when at least one paramater is not valid
## Not run: methylInheritance:::validateExtractInfo(
allResults = methylInheritanceResults, type = "sites",
inter = "i2", 12)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.