Network Centrality¶
- CPAC.network_centrality.convert_pvalue_to_r(datafile, p_value, two_tailed=False)[source]¶
Method to calculate correlation threshold from p_value
- Parameters:
- datafilestring
filepath to dataset to extract number of time pts from
- p_valuefloat
significance threshold p-value
- two_tailedboolean (optional); default=False
flag to indicate whether to calculate the two-tailed t-test threshold for the returned correlation value
- Returns:
- r_valuefloat
correlation threshold value