Unlimited learning, half price | 50% off
Get 50% off unlimited learning

dartR (version 2.0.4)

gl.alf: Calculates allele frequency of the first and second allele for each loci A very simple function to report allele frequencies

Description

Calculates allele frequency of the first and second allele for each loci A very simple function to report allele frequencies

Usage

gl.alf(x)

Arguments

x

Name of the genlight object containing the SNP data [required].

Value

A simple data.frame with alf1, alf2.

Examples

Run this code
# 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