isPeaksMatrix | R Documentation |
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()
,
which.first()
isPeaksMatrix(1:2)
isPeaksMatrix(cbind(mz = 2:1, intensity = 1:2))
isPeaksMatrix(cbind(mz = 1:2, intensity = 1:2))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.