Check functions
These functions are used to check input arguments.
isPeaksMatrix(x)
x |
object to test. |
isPeaksMatrix
: test for a numeric
matrix with two columns named "mz" and
"intensity". The "mz" column has to be sorted increasingly.
logical(1)
, TRUE
if checks are successful otherwise FALSE
.
Sebastian Gibb
Other helper functions for developers:
between()
,
rbindFill()
,
validPeaksMatrix()
,
vapply1c()
isPeaksMatrix(1:2) isPeaksMatrix(cbind(mz = 2:1, intensity = 1:2)) isPeaksMatrix(cbind(mz = 1:2, intensity = 1:2))
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.