Hello, there.
I’m writing because a few people seem to be having the same problem.
There seems to be a colour mismatch error in PCA and PLS scores plots.
If your group names are numeric, please correct them to alphabetical.
ex) 1,2,3,4, → A,B,C,D
*Please note that this may not be the exact solution.
This is how I solved the problem.
Hope this helps.
Thanks.