gets the percentiles for global indices
gloperc( vals, percentiles = c( 0.5, 1, 2, 5, 95 ),
type = c( "quantile", "(i-1)/(n-1)", "i/(n+1)", "i/n" ) )
table with global indices for control subjects
percentiles at which to calculate cutoff values
see wtd.quantile
for a list of different options
percentiles for global indices
gets the percentiles for global indices. This function works in conjunction with vfstats
. In vfstats
all global indices refering to mean must start with m
and all refereing to standard deviation must start with s
, otherwise gloperc
won't calculate the cutoff values correctly