plots the slope values and the corresponding probabiliby category for each location
vfplot_plr( sl, pval, vfinfo, newWindow = FALSE,
xmin = NULL, xmax = NULL, ymin = NULL, ymax = NULL,
colorMapType = "pval", colorScale = NULL,
txtfont = "sans", pointsize = 10, width = 6,
showaxis = FALSE, colaxis = "black" )
slopes
pvalues calculated for the slope
information about the visual field
boolean value- TRUE will generate a new window for the plot. Default value is TRUE
minimum and maximum limits on the x and y axes, in degrees of visual angle. If NULL
, then the limits are the maximum and minimum location values + 2.5 percent of the range. Default is NULL
.
what does color map categorizes. It can be pvals
, slopes
, or years blind
. Default is pvals
Color mapping to use. Default is NULL
. A different default is given depending on colorMapType
font of the text with visual-sensitivity values. Default is sans
size of the text with visual-sensitivity values. Default is 10
width of the window. height is calucated using the width, xminmax and yminmax
Whether to show axis or not. Default is FALSE
Color of the axis to show, if showaxis
is TRUE
. Default is black
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
[1] N. O'Leary, B. C. Chauhan, and P. H. Artes. Visual field progression in glaucoma: estimating the overall significance of deterioration with permutation analyses of pointwise linear regression (PoPLR). Investigative Ophthalmology and Visual Science, 53, 2012
# NOT RUN {
res <- poplr( vf91016right )
vfplot_plr( res$sl, res$pval, res$vfdata )
# }
Run the code above in your browser using DataLab