plotIndiv() function seems to mis-allocate the sample group colors in the legend

I am using mixOmics ‘6.26.0’.The plotIndiv function is mislabeling the sample groups.

The issue has been described previously but the proposed solution is not helping(ie.e,. changing the style does not fix the issue)

https://support.bioconductor.org/p/131518/

Please advise as to a work around?
Thank you,
Jen

Hello! This issue has now been fixed in the latest Github version of mixOmics, you can download it using:

devtools::install_github("mixOmicsTeam/mixOmics")

Please let us know if you still have issues with the latest version!

Cheers,
Eva