Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

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(gl)

Arguments

gl

– a genlight object

Value

a simple data.frame with alf1, alf2

Author(s)

Bernd Gruber (bugs? Post to https://groups.google.com/d/forum/dartr)

Examples

#for the first 10 loci only
gl.alf(possums.gl[,1:10])
barplot(t(as.matrix(gl.alf(possums.gl[,1:10]))))

dartR

Importing and Analysing SNP and Silicodart Data Generated by Genome-Wide Restriction Fragment Analysis

v1.9.6
GPL-2
Authors
Bernd Gruber [aut, cre], Arthur Georges [aut], Jose L. Mijangos [aut], Peter J. Unmack [ctb], Oliver Berry [ctb], Lindsay V. Clark [ctb], Floriaan Devloo-Delva [ctb]
Initial release
2021-04-29

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.