EvanForsythe / ERCnet

9 stars 2 forks source link

Refactor ERC_analyses.py to perform pearson and spearman in one run #72

Closed EvanForsythe closed 1 year ago

EvanForsythe commented 1 year ago

-Change ERC_analyses.py so that both pearson and spearman correlation analyses are calculated. This means that the user will no longer need to choose spearman vs pearson, both are calculated automatically. The use will still need to choose R2T versus BXB.

-Change Network_analyses.py to accommodate the new format of the ERC results csv file.

-Change Network_analyses.py so that the user can choose "pearson", "spearman", or "both". If both are selected, the p-value and R2 cutoffs will be applied to both pearson and spearman values. (e.g. retain row if pearson-P<0.05 AND spearman-P<0.05).

tgattsIV commented 1 year ago

Should be complete in current iteration of main.