-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug: SAM legend and plot colors can be reversed, depending on how filters are added #218
Comments
The issue is that the legend is ordered by subset count, while the variable’s vocabulary is ordered by filter configuration. A solution is to augment the overlay variable such that its vocab is in the same order as the legend. I’m not yet sure where to do this. More investigation is needed. |
I think this may be fixed by #217 |
I may have found a hack solution that involves modifying the |
This issue wasn't automatically closed by merging the above PR, but maybe it should have been? |
Yes, thanks, will do! |
Looking at the WWARN data on SAM...
I first filtered
Genotype or haplotype assessed
=pfcrt k76
to look at the wildtype. I got this plot, which looks good:I then went back to change my filters for
Genotype or haplotype assessed
and addedpfcrt 76t
so that i could compare the wildtype to the mutant. I got this plot, which had the colors of the legend and the plot switched:I then cleared all filters and re-added filters for
Genotype or haplotype assessed
...this time filtering bothpfcrt k76
andpfcrt 76t
at the SAME time. I got this plot, which once again has the colors correct:Please make sure the legend colors match to the appropriate line in the graph, regardless of how the filters are ordered, thanks!
The text was updated successfully, but these errors were encountered: