create_matrix_plot: Create a ggplot of a matrix

Description Usage Arguments Value

Description

Create a ggplot of a matrix

Usage

1
2
create_matrix_plot(mat, title = NULL, tile_size = 1, base_size = 11,
  col_spacing = 0, row_spacing = 0)

Arguments

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

Value

ggplot2 object


coolbutuseless/nonogram documentation built on May 5, 2019, 3:45 a.m.