unravel.voxel_stats.other.r_to_p module#

Converts correlation map to z-score, p value, and FDR p value maps.

Input:
  • <image>_correlation_map.nii.gz

Outputs:
  • <image>_z_score_map.nii.gz

  • <image>_p_value_map.nii.gz

  • <image>_p_value_map_fdr_corrected.nii.gz

Usage:#

path/r_to_p.py -i sample01_cfos_correlation_map.nii.gz -x 25 -z 25 -v

unravel.voxel_stats.other.r_to_p.parse_args()[source]#
unravel.voxel_stats.other.r_to_p.r_to_z(correlation_map)[source]#

Convert a Pearson correlation map (ndarray) to a Z-score map (ndarray) using Fisher’s Z-transformation via np.arctanh

unravel.voxel_stats.other.r_to_p.z_to_p(z_map)[source]#

Convert a Z-score map (ndarray) to a two-tailed p-value map (ndarray)

unravel.voxel_stats.other.r_to_p.main()[source]#