genotypic_values: Initialize genotypic value of offspring from ploidy with...

View source: R/genotypic_values.R

genotypic_valuesR Documentation

Initialize genotypic value of offspring from ploidy with respect to the focal allele

Description

Initialize bi-allele multi-locus genotype frequency from underlying allele frequencies assuming no prior linkage disequilibrium

Usage

genotypic_values(allele_names, ploidy)

Details

@param allele_names A vector of designated letters associated with each locus, with upper-case denoting the focal allele and lower-case denoting the non-focal (e.g. A vs a) @param ploidy A vector of the ploidies of each locus

@return A vector of the genotype frequencies @export @examples


rkanitz/Madgwick-Kanitz-detsims documentation built on April 27, 2023, 2:55 p.m.