--
You received this message because you are subscribed to the Google Groups "dartR" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dartr+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dartr/dbeb5956-9923-4bc0-b7ad-dcb05fba259cn%40googlegroups.com.
Hi Louis,
I have used gl.run.structure to assess the number of genetic clusters present in my dataset. I was wondering why you specifically select [,1:100] in your example with bandicoot.gl. Does this mean that you only want to look at the first 100 loci or is this just for the example to save computation time?
The reason I ask is I tried for my own dataset (say gl5) with gl5 and gl5[,1:100] and with the same k.range and num.k.rep I do get different results when I plot the structure result.
out_struc <- gl.run.structure(gl5[,1:100], k.range=2:5, num.k.rep=10, exec="./structure/structure", noadmix=FALSE)
out_evanno <- gl.evanno(out_struc, plot.out=TRUE) #check deltaK for correct estimation of number of clusters (Evanno et al., 2005)
qmat <- gl.plot.structure(out_struc, colors_clusters=c("#A6CEE3", "#1F78B4", "#33A02C"), K=3)
gl.map.structure(qmat, gl5[,1:100], K=3)
Thank you!
Kind regards,
Chiara