Calculates allele frequency of the first and second allele for each loci #' A very simple function to report allele frequencies
gl.alf(gl)
-- a genlight object
a simple data.frame with alf1, alf2
# NOT RUN {
#for the first 10 loci only
gl.alf(possums.gl[,1:10])
barplot(t(as.matrix(gl.alf(possums.gl[,1:10]))))
# }
Run the code above in your browser using DataLab