prune_mat | R Documentation |
Prune (subset) rows of matrix for plotting as heatmap.
prune_mat(
object,
labrows = rownames(object),
only.labrows = FALSE,
unique.rows = FALSE,
ntop = NULL,
na.lab = c("---", ""),
verbose = TRUE
)
object |
Matrix-like object with features (e.g. genes) as rows and samples as columns. |
labrows |
Labels for rows, e.g. gene symbols. This can be of length 1 (in which case it is recycled),
of length |
only.labrows |
Logical; only include rows where |
unique.rows |
Logical; remove duplicated row labels to make rows unique? |
ntop |
Scalar number of rows to include. |
na.lab |
Character vector of labels in |
verbose |
Logical; print pruning messages to console? |
Vector of pruned matrix rownames; vectors names are from rownames(object).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.