allGenos: Find all possible genotypes

View source: R/allGenos.R

allGenosR Documentation

Find all possible genotypes

Description

Finds all possible genotypes based on input alleles.

Usage

allGenos(alleles)

Arguments

alleles

Vector of input alleles, numeric or character

Value

Matrix of all possible genotypes, one row per genotype

Author(s)

Guro Dorum

Examples

alleles <- 1:3
allGenos(alleles)

gdorum/relMix documentation built on May 3, 2024, 4:29 a.m.