Evaluates integrity of the input matrix.
validateMatrix(mat, checkRowNames = TRUE, allowNa = TRUE)
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. |
TRUE if no errors are found.