offspring: Mendelian offspring generator

Description Usage Arguments Details Value Author(s) Examples

View source: R/offspring.R

Description

Random generation of offspring from two parental individuals for one locus.

Usage

1
2
     offspring(parent1, parent2, allele.column, pairs)
     

Arguments

parent1

data.frame of parent one.

parent2

data.frame of parent two.

allele.column

Loci information in column allele.column and allele.column+1.

pairs

Number of offspring generated from parent1 and parent2.

Details

Mendelian generator of random offspring.

Value

offspr

Dataframe of offpsring generated with length pairs.

Author(s)

Philipp Kraemer, <[email protected]>

Examples

1
2
3
4
     ## internal function not intended for direct usage
    
     
     

Demerelate documentation built on May 30, 2017, 8:14 a.m.