Learn R Programming

visualFields (version 0.6.2)

vflayout_poplr: layout displaying the PoPLR analysis

Description

the function performs the PoPLR analysis (see poplr) with default values and presents the results in form of a A4 printout

Usage

vflayout_poplr( vf, grp = 3, nperm = 5000, sparklines = TRUE,
                      plotType = "td", summaryIndex1 = "md", summaryIndex2 = "gh",
                      ttail = "left", sltest = NULL, truncVal = 1,
                      pwidth = 8.27, pheight = 11.69,
                      margin = 0.25, filename = NULL,
                      colorMapType = "pval", colorScale = NULL,
                      showaxis = FALSE, colaxis = "black" )

Arguments

vf

vf object with threshold sensitivities, td, or pd values

grp

how many visual fields to group. Default is 3

nperm

number of permutations. Default is 5000

sparklines

Whether or not to show sparklines. Default is TRUE

plotType

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

summaryIndex1

Which summary index to use for the first global progression analysis. Default is md

summaryIndex2

Which summary index to use for the second global progression analysis. Default is gh

ttail

type of alternative in the significant test: left, right, both. Default is left

sltest

values for the 1-tailed hypothesis test for all locations. The reference value is not restricted, but it should be either zero (was there any progression?) or negative (was the progression greater than test value?). Default is NULL

truncVal

p-value cut-off for truncation. Default is 1

pwidth

width of the page (in inches). Default is 8.27

pheight

height of the page (in inches). Default is 11.69

margin

margins of the page (in inches). Default is 0.25

filename

file name to save the printout as pdf. If it is saved to pdf, it won't be displayed in the screen. Default is NULL.

colorMapType

what does color map categorizes. It can be pvals, slopes, or years blind. Default is pvals

colorScale

Color mapping to use. Default is NULL. A different default is given depending on colorMapType

showaxis

Whether to show axis or not. Default is FALSE

colaxis

Color of the axis to show, if showaxis is TRUE. Default is black

References

[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

See Also

vflayout, poplr, poplr_cstat, poplr_pstat, vfplot_plr