add_ref_boxes: Add reference boxes around each cell of the glyphmap.

View source: R/gglyph.R

add_ref_boxesR Documentation

Add reference boxes around each cell of the glyphmap.

Description

Add reference boxes around each cell of the glyphmap.

Usage

add_ref_boxes(
  data,
  var_fill = NULL,
  color = "white",
  size = 0.5,
  fill = NA,
  ...
)

Arguments

data

A glyphmap structure.

var_fill

Variable name to use to set the fill color

color

Set the color to draw in, default is "white"

size

Set the line size, default is 0.5

fill

fill value used if var_fill is NULL

...

other arguments passed onto ggplot2::geom_rect()


GGally documentation built on May 29, 2024, 8:29 a.m.