Mercurial > repos > bimib > cobraxy
comparison COBRAxy/flux_to_map.py @ 225:ba7043091fe3 draft
Uploaded
author | luca_milaz |
---|---|
date | Mon, 16 Dec 2024 17:21:36 +0000 |
parents | 4e368ecd4fb6 |
children | e71edb2585e6 |
comparison
equal
deleted
inserted
replaced
224:4a677fc67aeb | 225:ba7043091fe3 |
---|---|
757 enrichment_results = [] | 757 enrichment_results = [] |
758 | 758 |
759 | 759 |
760 if ARGS.comparison == "manyvsmany": | 760 if ARGS.comparison == "manyvsmany": |
761 for i, j in it.combinations(class_pat.keys(), 2): | 761 for i, j in it.combinations(class_pat.keys(), 2): |
762 | |
763 comparisonDict, max_z_score = compareDatasetPair(class_pat.get(i), class_pat.get(j), ids) | 762 comparisonDict, max_z_score = compareDatasetPair(class_pat.get(i), class_pat.get(j), ids) |
764 enrichment_results.append((i, j, comparisonDict, max_z_score)) | 763 enrichment_results.append((i, j, comparisonDict, max_z_score)) |
765 | 764 |
766 elif ARGS.comparison == "onevsrest": | 765 elif ARGS.comparison == "onevsrest": |
767 for single_cluster in class_pat.keys(): | 766 for single_cluster in class_pat.keys(): |