Description Usage Arguments Value
Create a ggplot of a matrix
1 2 | create_matrix_plot(mat, title = NULL, tile_size = 1, base_size = 11,
col_spacing = 0, row_spacing = 0)
|
mat |
numeric matrix with just 0/1 values |
title |
plot title. default: NULL |
tile_size |
size of tiles. Range 0-1. Default: 0.96 |
base_size |
base size for ggplot theme. default 11 |
col_spacing |
fractional extra spacing between columns |
row_spacing |
fractional extra spacing between rows |
ggplot2 object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.