Hello, I am trying to run PCA but somehow it is not running properly

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)
mydata

fviz_eig(res.pca)
fviz_pca_ind(res.pca, col.ind = "cos2", pointsize = "cos2", gradient.cols = c("#FFCCFF", "#CC0066", "#000000"),
repel = TRUE)

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.