stats_p2z
stats_p2z#
- qx_mri.stats.stats_p2z(img, out, tail)#
stats_p2z(img, out, tail)
Converts p to Z values considering one or two tails.
Parameters
- --img (nimage | str):
A nimage object or a path to an image file.
- --out (str, default ''):
A path to the file to save the image to.
- --tail (str, default 'two'):
Should one ('one') or two ('two') tails be considered.
Returns
- Z
A nimage object with results.
Notes
Use the function to convert p-values to Z-values. If not filename is provided, no file is saved.
Examples
qunex stats_p2z \ --img='WM_p.nii.gz' \ --out='WM_Z.nii.gz'