validation: Validation functions

Description Usage Arguments Details Value Author(s) See Also Examples

Description

These functions are used to validate input arguments. In general they are just wrapper around their corresponding is* function with an error message.

Usage

1

Arguments

x

object to test.

Details

validPeaksMatrix: see isPeaksMatrix.

Value

logical(1), TRUE if validation are successful otherwise an error is thrown.

Author(s)

Sebastian Gibb

See Also

Other helper functions for developers: between(), isPeaksMatrix(), rbindFill(), vapply1c()

Examples

1
2
try(validPeaksMatrix(1:2))
validPeaksMatrix(cbind(mz = 1:2, intensity = 1:2))

MsCoreUtils documentation built on Nov. 8, 2020, 10:59 p.m.