PlotSensitivity: PlotSensitivity

View source: R/PLOT_Sensitivity.R

PlotSensitivityR Documentation

PlotSensitivity

Description

Plots a heat map of the differential light sensitivity on the Humphrey Field Analyzer-II visual field.

Usage

PlotSensitivity(
  Y = Y,
  main = "Sensitivity Estimate (dB) at each \nlocation on visual field",
  legend.lab = "DLS (dB)",
  zlim = c(10, 35),
  bins = 200,
  border = TRUE,
  legend = TRUE,
  color = c("yellow", "orange", "red"),
  col.bs = "grey",
  legend.round = 0,
  legend.vals = 5
)

Arguments

Y

variable to be plotted on the visual field (e.g. differential light sensitivity).

main

an overall title for the plot.

legend.lab

a label for the legend (default = "DLS (dB)").

zlim

the limits used for the legend (default are the minimum and maximum of Y).

bins

the number of bins used to refine the color palette for the figure and legend.

border

logical, indicating whether there should be a border around the visual field (default = TRUE).

legend

logical, indicating whether the legend should be present (default = TRUE).

color

a vector of character strings representing the color palette.

col.bs

color of the blind spot locations (default = "grey").

legend.round

integer, indicating the digits that the legend labels are rounded to (default = 0).

legend.vals

integer, indicating the number of labels values to be included on the legend (default = 5).

Details

PlotSensitivity is used in the application of glaucoma progression to plot a variable across the visual field in the form of a heat map.

Author(s)

Samuel I. Berchuck

Examples

data(VFSeries)
PlotSensitivity(Y = VFSeries$DLS[VFSeries$Visit == 1],
                  main = "Sensitivity estimate (dB) at each \n location on visual field",
                  legend.lab = "DLS (dB)",
                  zlim = c(10, 35),
                  bins = 250)

womblR documentation built on Sept. 5, 2022, 9:07 a.m.