Learn R Programming

visualFields (version 0.5.4)

vfplot2: visual field plot

Description

plots location-specific sensitivity thresholds, or TD or PD values at each location of the visual field with the corresponding color code for the probability map

Usage

vfplot2( vf, plotType, notSeenAsBlack = TRUE, newWindow = FALSE,
        txtfont = "serif", pointsize = 7, width = 6,
        xminmax = 29, yminmax = 29,
        outerSymbol = "circles", innerSymbol = "circles",
        outerSize = 1, innerSize = 1,
        outerInch = 0.14, innerInch = 0.08,
        lengthLines = 4.25, thicknessLines = 2 )

Arguments

vf

vf-object with sensitivity thresholds, or TD or PD values

plotType

Type of plot to show. It can be visual sensitivities (vf), total-deviation values (td), or pattern-deviation values (pd)

notSeenAsBlack

whether to plot non-seen as black. Default is TRUE

newWindow

whether to generate a new window for the plot. This becomes important when working with RStudio. Default value is TRUE

txtfont

font face of the text with visual-sensitivity values. Default is Helvetica

pointsize

size of the text with visual-sensitivity values. Default is 7

width

width of the window. height is calculated using the width, xminmax, and yminmax. Default is 6

xminmax

minimum and maximum limits on the x axis, in degrees of visual angle. Default is 29

yminmax

minimum and maximum limits on the y axis, in degrees of visual angle. Default is 29

outerSymbol

The outer symbol at all locations. Can be any of circles, squares, rectangles, stars. Default is circle

innerSymbol

The inner symbol at all locations. Can be any of circles, squares, rectangles, stars. Default is circle

outerSize

Relative size of the outer symbol. Default is 1

innerSize

Relative size of the inner symbol. Default is 1

outerInch

Maximum size of the outer symbol in inches. Default is 0.14

innerInch

Maximum size of the inner symbol in inches. Default is 0.08

lengthLines

length of the lines denoting the orientation of the RNFL bundle. Default is 4.25

thicknessLines

thickness of the lines denoting the orientation of the RNFL bundle. Default is 2

Details

This function The vfplot function operates on a single row of visual fileds (vf). Depending on the plot type it will generate a plot representing the sensitivity at each location. The color scheme elucidates the degree of sensitivity at that location. Locations with zero sensitivity are shown in black. Blind spots have been excluded fronm the plot

See Also

vfplotloc2

Examples

Run this code
# NOT RUN {
  vfplot2( vf91016right[15,], plotType = "td" )
# }

Run the code above in your browser using DataLab