Description Usage Arguments Value Examples
Replaces missing and invalid values with 0, and makes sure the matrix has all rows and samples in 'against'.
1 | checkMatIntegrity(x, against = NULL)
|
x |
a matrix or data.frame |
against |
(optional) another matrix or data.frame, of which all rows and columns should be present in x. |
a clean version of x, or an error if there are missing columns.
1 | checkMatIntegrity(matrix(c(1:8,NA),nrow=3))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.