Learn R Programming

visualFields (version 0.5.5)

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,
                      plotType = "vf", truncVal = 1,
                      type = "slr", typecomb = "fisher",
                      pwidth = 8.27, pheight = 11.69,
                      margin = 0.25, filename = NULL,
                      colorMapType = "pval", colorScale = NULL )

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

plotType

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

truncVal

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

type

Type of regression statistic: slr for simple linear regression and rank for Spearman correlation coefficient. Default is slr

typecomb

Combination type for p-values. Default is fisher

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

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, hist_poplr, poplr_cstat, poplr_pstat, vfplot_poplr

Examples

Run this code
# NOT RUN {
  
# }
# NOT RUN {
    vflayout_poplr( vf91016right )
  
# }

Run the code above in your browser using DataLab