getTargets {selfingTree}R Documentation

Obtain all possible genotypes that match a certain target configuration

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

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


getTargets("AHB")


[Package selfingTree version 0.2 Index]