bigbio / pmultiqc

A library for QC report based on MultiQC framework
GNU General Public License v3.0
13 stars 8 forks source link

Use scale=False and assign a color per number in the experimental design #49

Closed jpfeuffer closed 2 years ago

jpfeuffer commented 2 years ago

https://github.com/bigbio/pmultiqc/blob/40c20cf781bf9fed7f113ce4338dc8d86bd3625c/pmultiqc/modules/quantms/quantms.py#L285

Scale = false makes sure that we do not see the weird filled bars in the background. Instead we should use custom bg colors https://multiqc.info/docs/#custom-cell-background-colours to color the cell according to the number in the column. (E.g. fraction group 1 is blue, group 2 is red, ...). Use e.g. color brewer Set 2 colors. One can use the mqc color utils maybe: https://github.com/ewels/MultiQC/blob/master/multiqc/utils/mqc_colour.py