mni.compute.FDR {mni.cortical.statistics}R Documentation

Compute the q value at every vertex

Description

Uses the False Discovery Rate as described by Genovese et. al. to compute both the q-values and a t-threshold for a corresponding set of t or p values.

Usage

mni.compute.FDR(t.stats=NULL, p.values=NULL, df=Inf, fdr=0.05,
                plot.fdr=FALSE) 

Arguments

t.stats An array of t-statistics.
p.values An array of p-values.
df The degrees of freedom.
fdr The threshold to test for.
plot.fdr Whether to produce a plot of the FDR procedure.

Value

Returns both the threshold as well as a list of q-values corresponding to the t or p values.

See Also

mni.read.glim.file. mni.build.data.table. mni.vertex.statistics. mni.mean.statistics. mni.write.vertex.stats.


[Package Contents]