allele_freq: Computes allele frequencies for specified populations given...

Description Usage Arguments Value

Description

Computes allele frequencies for specified populations given SNP array data

Usage

1
allele_freq(geno, populations)

Arguments

geno

matrix of genotypes coded as the dosage of allele B 0, 1, 2 with individuals in rows (named) and SNPs in columns (named)

populations

list of named populations. Each population has a vector of IDs that belong to the population. Allele frequencies will be derived from all animals

Value

data.frame consisting of allele_frequencies for populations (columns) for each SNP (rows)


funkhou9/breedTools documentation built on May 16, 2019, 4:04 p.m.