Network Centrality

CPAC.network_centrality.convert_pvalue_to_r(datafile, p_value, two_tailed=False)[source]

Method to calculate correlation threshold from p_value

datafile : string
filepath to dataset to extract number of time pts from
p_value : float
significance threshold p-value
two_tailed : boolean (optional); default=False
flag to indicate whether to calculate the two-tailed t-test threshold for the returned correlation value
r_value : float
correlation threshold value