Calculates Fisher's asymptotic p-value for given correlations.
corPvalueFisher(cor, nSamples, twoSided = TRUE)
A vector of p-values of the same length as the input correlations.
A vector of correlation values whose corresponding p-values are to be calculated
Number of samples from which the correlations were calculated
logical: should the calculated p-values be two sided?
Steve Horvath and Peter Langfelder