gl.percent.freq: Generate percentage allele frequencies by locus and population
Description
This is a support script, to take SNP data or SilocoDArT presence/absence data grouped into populations in a genelight or genind object {adegenet}
and generate a table of allele frequencies for each population and locus
Usage
gl.percent.freq(gl, v = 2)
Arguments
gl
-- name of the genlight containing the SNP genotypes or genind object containing the presence/absence data [required]
v
-- verbosity: 0, silent or fatal errors; 1, begin and end; 2, progress log ; 3, progress and results summary; 5, full report [default 2]
Value
A matrix with allele frequencies (genelight) or presence/absence frequencies (genind) broken down by population and locus