Learn R Programming

RVsharing (version 1.7.0)

GeneDrop-method: Gene Dropping method

Description

Simulate transmission of alleles from the parents to their offsrping according to Mendel's laws.

Usage

# S4 method for Trio,numeric
GeneDrop(trio,geno.vec)

Arguments

trio
A Trio object.
geno.vec
A named genotype vector.

Value

A numeric genotype vector.

Details

Simulate transmission of alleles from the parents to their offsrping in a trio object according to Mendel's laws.