View source: R/minc_hierarchical_anatomy.R
hanatFDR | R Documentation |
Compute the False Discovery Rate for an anatomical hierarchy
hanatFDR(buffer)
buffer |
What to compute FDR on |
Uses the Benjamini & Yekutieli (2001) algorithm for computing FDR to account for dependence (which is obviously present in a hierarchy where parent values are directly derived from their children).
Stores the values using the same name as the incoming statistic but with a q prepended. I.e. tvalue.Sexmale becomes qtvalue.Sexmale. Note that the original, input, is modified with these new additions as well.
the anatomical hierarchy with FDR added (see details)
## Not run:
vols <- addVolumesToHierarchy(hdefs, allvols)
hLm <- hanatLm(~Sex, gfBasic, vols)
hLm <- hanatFDR(hLm)
thresholds(hLm)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.