Mercurial > repos > bimib > marea_2
changeset 246:caf79d752eb4 draft
Uploaded
author | luca_milaz |
---|---|
date | Sun, 04 Aug 2024 12:34:44 +0000 |
parents | 42e55436179a |
children | 6c3e7c338b93 |
files | marea_2/flux_to_map.py |
diffstat | 1 files changed, 11 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/marea_2/flux_to_map.py Sat Aug 03 14:22:26 2024 +0000 +++ b/marea_2/flux_to_map.py Sun Aug 04 12:34:44 2024 +0000 @@ -813,6 +813,12 @@ dataset = dataset.drop(dataset.columns[0], axis = "columns").to_dict("list") return { id : list(map(utils.Float("Dataset values, not an argument"), values)) for id, values in dataset.items() }, IDs +def computeEnrichmentMedoids(metabMap :ET.ElementTree, class_pat :Dict[str, List[List[float]]], ids :List[str]) -> None: + utils.logWarning( + print(class_pat), + ARGS.out_log) + + ############################ MAIN ############################################# def main() -> None: """ @@ -838,6 +844,11 @@ # solution can be derived from my comment in FilePath.fromStrPath ids, class_pat = getClassesAndIdsFromDatasets(ARGS.input_datas_fluxes, ARGS.input_data_fluxes, ARGS.input_class_fluxes, ARGS.names_fluxes) + + computeEnrichmentMedoids(core_map, class_pat, ids) + + pass + computeEnrichment(core_map, class_pat, ids) # create output files: TODO: this is the same comparison happening in "maps", find a better way to organize this