Validation functions
These functions are used to validate input arguments. In general they are
just wrapper around their corresponding is*
function with an error message.
validPeaksMatrix(x)
x |
object to test. |
validPeaksMatrix
: see isPeaksMatrix
.
logical(1)
, TRUE
if validation are successful otherwise an error
is thrown.
Sebastian Gibb
Other helper functions for developers:
between()
,
isPeaksMatrix()
,
rbindFill()
,
vapply1c()
try(validPeaksMatrix(1:2)) validPeaksMatrix(cbind(mz = 1:2, intensity = 1:2))
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.