Deseq2-like normalization in Python.
Known as Median of ratios transformation.
This function will take as input pandas dataframe (features/functions as rows and samples as columns) with counts and perform DESeq2-like normalization.
Usage: copy it in your python3 script and call it when necessary.