Mercurial > repos > bimib > cobraxy
diff COBRAxy/marea.py @ 277:1bf66a30ab23 draft
Uploaded
author | francesco_lapi |
---|---|
date | Mon, 12 May 2025 15:36:25 +0000 |
parents | 2748cef7fa12 |
children | 5e8f1ab4242f |
line wrap: on
line diff
--- a/COBRAxy/marea.py Mon May 05 10:33:30 2025 +0000 +++ b/COBRAxy/marea.py Mon May 12 15:36:25 2025 +0000 @@ -767,7 +767,7 @@ p_value, z_score = computePValue(l1, l2) avg = fold_change(sum(l1) / len(l1), sum(l2) / len(l2)) if not isinstance(z_score, str) and max_z_score < abs(z_score): max_z_score = abs(z_score) - tmp[reactId] = [float(p_value), avg, z_score] + tmp[reactId] = [float(p_value), avg, z_score, sum(l1) / len(l1), sum(l2) / len(l2)] except (TypeError, ZeroDivisionError): continue @@ -911,4 +911,4 @@ print('Execution succeeded') ############################################################################### if __name__ == "__main__": - main() \ No newline at end of file + main()