When a dataframe contains multiple entries for a protein group and is passed to the dashbio.VolcanoPlot function (e.g. here), it can lead to unwanted behavior. At least the coloring of highlighted proteins may be faulty so that significant proteins are highlighted as non-significant.
The reason for this lies in the _volcano.py file, line 475, where protein groups are removed based on index. There is an implicit assumption that each protein group only shows up once, which messes up the coloring if it's not met
Issue description
When a dataframe contains multiple entries for a protein group and is passed to the
dashbio.VolcanoPlot
function (e.g. here), it can lead to unwanted behavior. At least the coloring of highlighted proteins may be faulty so that significant proteins are highlighted as non-significant.The reason for this lies in the
_volcano.py
file, line 475, where protein groups are removed based on index. There is an implicit assumption that each protein group only shows up once, which messes up the coloring if it's not met