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, <philipp.kraemer@uni-oldenburg.de>

Examples

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

Demerelate documentation built on May 2, 2019, 4:01 p.m.