data(Aeut)
Aeut
# Conversion to genclone --------------------------------------------------
Aeut.gc <- as.genclone(Aeut)
Aeut.gc
# Conversion to genind ----------------------------------------------------
Aeut.gi <- genclone2genind(Aeut.gc)
Aeut.gi
# Conversion to polysat's "genambig" class --------------------------------
if (require("polysat")) {
data(Pinf)
Pinf.gb <- as.genambig(Pinf)
summary(Pinf.gb)
}
data(nancycats)
# Conversion to bootgen for random sampling of loci -----------------------
nan.bg <- new("bootgen", nancycats[pop = 9])
nan.bg
# Conversion back to genind -----------------------------------------------
nan.gid <- bootgen2genind(nan.bg)
nan.gid
Run the code above in your browser using DataLab