getTargets: Obtain all possible genotypes that match a certain target...

Description Usage Arguments Value Author(s) Examples

View source: R/getTargets.R

Description

This convenience function finds all genotypes that match a certain target configuration. It is used only if the target configuration contains heterozygous states, but order (e.g., A/B or B/A) does not matter.

Usage

1
getTargets(target.geno)

Arguments

target.geno

Three (three-marker genotypes) or two (two-marker genotypes) character string specifying the target configuration. Homozygousity for parent A allele is indicated as A, homozygousity for parent B allele as B, heterozygousity (A/B or B/A) as H.

Value

A character vector with all genotypes matching the target configuration. The format complies with the output format of branchProbabilities (gamete1-gamete2, e.g., "AAB-AAA")

Author(s)

Frank Technow

Examples

1
getTargets("AHB")

selfingTree documentation built on May 29, 2017, 9:49 p.m.

Search within the selfingTree package
Search all R packages, documentation and source code