SBRG / pymodulon

Python package for analyzing and visualizing iModulons
MIT License
11 stars 13 forks source link

DIMA with more than 2 replicates #111

Open meono opened 1 year ago

meono commented 1 year ago

https://github.com/SBRG/pymodulon/blob/c333004a421f1f2f7ab32f5f4b29b6b2a708bb41/src/pymodulon/util.py#L174

This line seems to overwrite the column in _diff dataframe when there are more than 2 replicates. Something like

_diff[":".join(name+(i1, i2))] = abs(A_to_use[i1] - A_to_use[i2])

would retain them.