| validateExtractInfo {methylInheritance} | R Documentation |
extractInfo functionValidation of some parameters needed by the public
extractInfo function.
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
## 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)