isValidAllele: Test if symbol is a valid allele.

Description Usage Arguments Value Enumerated Alleles/Genotypes Founder Alleles and Genotypes

View source: R/util.R

Description

Test if symbol is a valid allele.

Usage

1

Arguments

x

Test object.

Value

TRUE if symbol is a valid enumerated or founder allele; FALSE otherwise.

Enumerated Alleles/Genotypes

An enumerated allele/genotype is a number representing the order of occurrence of raw or founder genotypes at a specific marker (e.g. '1' for the first observed allele, '2' for the second). Enumerated alleles and genotypes are identical, regardless of ploidy. The process of enumerating genotypes is done independently for each marker, so a given enumerated genotype does not have the same meaning across markers.

Founder Alleles and Genotypes

A founder allele is a single letter corresponding to a specific founder strain, indicating that the region containing the marker derives from that founder. For example, 'W' might be used to represent the Western Africa founder strain DBVPG6044, or 'S' might be used for the Sake strain Y12).

For a given ploidy N, a founder genotype is the concatenation of the set of N founder alleles. For example, given one founder allele 'W' and another 'S', the founder genotype is 'WS'.


gact/shmootl documentation built on Nov. 11, 2021, 6:23 p.m.