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