Mercurial > repos > bimib > cobraxy
comparison COBRAxy/src/rps_generator.py @ 543:5d5583dc6082 draft
Uploaded
| author | francesco_lapi |
|---|---|
| date | Sun, 26 Oct 2025 19:38:05 +0000 |
| parents | fcdbc81feb45 |
| children |
comparison
equal
deleted
inserted
replaced
| 542:fcdbc81feb45 | 543:5d5583dc6082 |
|---|---|
| 5 maps metabolite names via synonyms, fills missing metabolites, and computes RPS | 5 maps metabolite names via synonyms, fills missing metabolites, and computes RPS |
| 6 per reaction for each sample using a log-normalized formula. | 6 per reaction for each sample using a log-normalized formula. |
| 7 """ | 7 """ |
| 8 import math | 8 import math |
| 9 import argparse | 9 import argparse |
| 10 | 10 import os |
| 11 import numpy as np | 11 import numpy as np |
| 12 import pickle as pk | 12 import pickle as pk |
| 13 import pandas as pd | 13 import pandas as pd |
| 14 | 14 |
| 15 from typing import Optional, List, Dict | 15 from typing import Optional, List, Dict |
