is_heterozygote: Determine heterozygosity

Description Usage Arguments Value Note Author(s) Examples

View source: R/is_heterozygote.R

Description

This function will determine the heterozygosity of one or more objects of type locus.

Usage

1

Arguments

x

A code object (single or vector)

Value

A logical flag indicating that there are at least two kinds of alleles present in the locus object.

Note

A haploid or NA locus is never heterozygous.

Author(s)

Rodney J. Dyer rjdyer@vcu.edu

Examples

1
2
loc <- locus( 1:2 )
is_heterozygote( loc )

MarianaLag/Mlag documentation built on Feb. 13, 2020, 12:30 a.m.