construct_slo: Construct a ggplot2 object containing the data for an SLO

View source: R/construct_slo.R

construct_sloR Documentation

Construct a ggplot2 object containing the data for an SLO

Description

Construct a ggplot2 object containing the data for an SLO

Usage

construct_slo(
  oct,
  low_color = "black",
  high_color = "white",
  scale_bar = TRUE,
  scale_length = 200,
  scale_color = "white",
  inset_percentage = 0.05,
  draw_margins = TRUE
)

Arguments

oct

a list containing the OCT data

low_color

color for lowest values

high_color

color for highest values

scale_length

length of scale bars in microns

scale_color

color of scale bar

inset_percentage

percentage of image to inset the scale bar

draw_margins

Should the plot include margins and axis labels?

scale_bars

Should scale bars be drawn?

Value

a ggplot2 object


barefootbiology/heyexr documentation built on July 9, 2022, 3:35 a.m.