allele_counts: Returns counts of alleles at a locus by population

Description Usage Arguments Value Author(s)

View source: R/allele_counts.R

Description

Takes a locus and set of populations and returns matrix of allele counts

Usage

1
allele_counts(x, locus, stratum = "Population")

Arguments

x

A data.frame object with loci and stratum in it.

locus

The name of the locus to use

stratum

The stratum to partition by.

Value

A matrix where each row is a strata and each column is a count of alleles

Author(s)

Rodney J. Dyer


MarianaLag/Mlag documentation built on Feb. 13, 2020, 12:30 a.m.