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.


martingarrido/biokit documentation built on June 27, 2021, 2:21 a.m.