Mercurial > repos > bimib > cobraxy
changeset 199:df664d1a86d4 draft
Uploaded
author | francesco_lapi |
---|---|
date | Thu, 21 Nov 2024 11:18:06 +0000 |
parents | 1dda40a60037 |
children | 20f2a6fd6b1a |
files | COBRAxy/flux_to_map.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/COBRAxy/flux_to_map.py Thu Nov 21 10:57:58 2024 +0000 +++ b/COBRAxy/flux_to_map.py Thu Nov 21 11:18:06 2024 +0000 @@ -665,7 +665,7 @@ OldEnrichedScores = Dict[str, List[Union[float, FoldChange]]] #TODO: try to use Tuple whenever possible def writeTabularResult(enrichedScores : OldEnrichedScores, outPath :utils.FilePath) -> None: - fieldNames = ["ids", "P_Value", "fold change"] + fieldNames = ["ids", "P_Value", "fold change", "z-score"] fieldNames.extend(["average_1", "average_2"]) writeToCsv([ [reactId] + values for reactId, values in enrichedScores.items() ], fieldNames, outPath)