Description Usage Arguments Details Value Author(s) See Also Examples
These functions are used to check input arguments.
1 |
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()
1 2 3 | 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.