validateMatrix: Validate matrix

Description Usage Arguments Value

View source: R/validators.R

Description

Evaluates integrity of the input matrix.

Usage

1
validateMatrix(mat, checkRowNames = TRUE, allowNa = TRUE)

Arguments

mat

The matrix to validate.

checkRowNames

Check rownames are present? Stop execution if TRUE and mat does not contain rownames.

allowNa

Allow NA presence in mat? Stop execution if NAs are found in mat.

Value

TRUE if no errors are found.


martingarridorc/biokit documentation built on June 28, 2021, 12:24 a.m.