gl.alf | R Documentation |
Calculates allele frequency of the first and second allele for each loci A very simple function to report allele frequencies
gl.alf(x)
x |
Name of the genlight object containing the SNP data [required]. |
A simple data.frame with alf1, alf2.
Bernd Gruber (bugs? Post to https://groups.google.com/d/forum/dartr)
#for the first 10 loci only
gl.alf(possums.gl[,1:10])
barplot(t(as.matrix(gl.alf(possums.gl[,1:10]))))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.