locus-operator-plus: Overload '+' operator for pairs of 'locus' objects

Description Usage Arguments Value Author(s) Examples

Description

An overload of the + operator for locus objects that results in the creation of an offspring locus.

Usage

1
2
## S3 method for class 'locus'
e1 + e2

Arguments

e1

A locus object.

e2

A locus object.

Value

A new locus object that represents an offspring genotype.

Author(s)

Rodney J. Dyer rjdyer@vcu.edu

Examples

1
2
3
4
dad <- locus( c("A", "A") ) 
mom <- locus( c("B", "B") )
off <- mom + dad 
off

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