fwe.p2z | R Documentation |
https://github.com/spisakt/pTFCE
fwe.p2z(resel_count, FWEP = 0.05)
resel_count |
resel count |
FWEP |
FWER corrected p-value |
The p-value, corrected for multiple comparisons by controlling for family-wise error rate, is converted to a Z-score threshold. The parameter resel_count is the number of resels (resolution elements) in the image, and can be obtained e.g by smoothest() (see examples).
Z-score threshold
## Not run:
s=smoothest(zmap, mask)
fwe.p2z(resel_count=s$volume/s$resels, FWEP=0.05)
pTFCE=ptfe(zmap, mask)
fwe.p2z(pTFCE$number_of_resels, FWEP=0.05)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.