Hi, all!
I was trying to draw a PCA plot using FactoMineR (a R package). When I ran it, texts on the plots were overlapped with unknown numbers.
Here's the R code
library(FactoMineR)
pca<-PCA(dta.cor, scale.unit=T)
plot.PCA(pca,cex=1)
and the result plot
As you can see numbers in pink are covering sample names.
I couldn't figure it out.
Please, someone help me!!
Thank you!!!
You can explore the options by looking at the help.
?plot.PCA
It looks like it haslabel=
andautoLab=
options which may be useful to turn off the unwanted labels. Try to troubleshoot it yourself first, which is the best way to learn.Adding to other suggestions check
geom_text_repel
formggrepel
Check its vignette hereThank you, all! You guys been great help!