Description Usage Arguments Value Examples
A simple plot of matrix entries values.
1 | plot_matrix(mat, rowIdx = NULL, colIdx = NULL, ...)
|
mat |
[matrix/ data.frame] (Required) Data matrix to plot. |
rowIdx, colIdx |
[integer] (Optional) Default |
... |
(Optional) Additional plotting options. |
p [ggplot] A ggplot heatmap object with nice defaults.
1 | plot_matrix(matrix(rnorm(2000)*100, 100, 200))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.