getRows | R Documentation |
Returns a subset of rows based on their names and optionally removes rows with only NA or zero values. Reports the number of missing rows.
getRows(
mat,
rownamez,
silent = FALSE,
removeNAonly = FALSE,
remove0only = FALSE
)
mat |
Input matrix. |
rownamez |
Vector of row names to search for in the matrix. |
silent |
Logical indicating whether to suppress printing of missing rows. Default: FALSE |
removeNAonly |
Logical indicating whether to remove rows with only NA values. Default: FALSE |
remove0only |
Logical indicating whether to remove rows with only zero values. Default: FALSE |
A matrix that is a subset of the input matrix.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.