mixOmics plotIndiv misspecifies the sample groups in legend
1
0
Entering edit mode
rocanja ▴ 60
@rocanja-5374
Last seen 8 months ago
Australia

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 pca and 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!

mixomics • 1.1k views
ADD COMMENT
0
Entering edit mode
Al J Abadi • 0
@al-j-abadi-15481
Last seen 4.3 years ago
Melbourne

Thanks for reporting this. This should now be fixed in the latest stable version https://github.com/mixOmicsTeam/mixOmics#stable-github-version

Also, always feel free to open an issue on GitHub if you come across any.

Cheers

Al

ADD COMMENT

Login before adding your answer.

Traffic: 544 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6