I have been using the mixOmics package for a while and it's a really great tool. However, since I have updated to R.4.0.0 along with most of the packages I am using, I noticed that the mixOmics (6.12.0)
plotIndiv() function seems to mis-allocate the sample group colors in the legend when using the default
style = "ggplot2" setting. When
style='graphics' is used, the colors in the legend are allocated correctly. I have found a very similar bug report on GitHub: https://github.com/mixOmicsTeam/mixOmics/issues/71. However, in my experience, it's not only limited to the
splsda visualisation, but applies to
plsda (and maybe others I haven't tried), as well. I have also tried their current GitHub version (6.13.11) and the devel version (6.13.13), but the problem persists. Does anyone have the same issue and is there a fix for it? (I am using ggplot2_3.3.0). Thank You!