Hello, I am trying to run PCA but somehow it is not running properly. If someone can please help me.
For 30 genotypes, I measured 9 variables. The names of the genotypes are given IP1, IP2, IP3,....IP30 in the first column and the variables are as follows in the first row: j, k, l, m, n, o, p, q, and r. Finally, in the graph, it does not show the full name of the genotypes and only shows it as a number. My question is what should be done to show the full name of the genotypes?
mydata=read.csv2("c://Users/Maryam/Desktop/mydata.csv", header=T, row.names=1)
fviz_pca_ind(res.pca, col.ind = "cos2", pointsize = "cos2", gradient.cols = c("#FFCCFF", "#CC0066", "#000000"),
repel = TRUE)