# examples need structure to be installed on the system (see above)
if (FALSE) {
bc <- bandicoot.gl[,1:100]
sr <- gl.run.structure(bc, k.range = 2:5, num.k.rep = 3, exec = './structure.exe')
ev <- gl.evanno(sr)
ev
qmat <- gl.plot.structure(sr, K=3)
head(qmat)
gl.map.structure(qmat, bc, K=3, scalex=1, scaley=0.5)
}
Run the code above in your browser using DataLab