I am doing DAPC for SNP dataset using:
library(adegenet) x<-input_file x1<-as.data.frame(t(x)) gen<-as.genlight(x1) grp<-find.clusters(gen,max.n.clust = 10) dapc1<-dapc(gen,grp$grp) scatter(dapc1)
But the scatter plot shows clusters without the individual samples represented as dots. I want to make a scatter plot which represents individual samples as dots in the clusters. I am not sure what is wrong or missing in my code. Thank you for the help!