f2Pedigree: Generate an F2 pedigree which starts from inbred founders

Description Usage Arguments Value Examples

View source: R/f2Pedigree.R

Description

Generate an F2 pedigree which starts from inbred founders

Usage

1
f2Pedigree(populationSize)

Arguments

populationSize

The size of the generated population.

Value

An object of class detailedPedigree representing the experimental design, suitable for simulation using simulateMPCross.

Examples

1
2
3
pedigree <- f2Pedigree(1000)
#This pedigree is automatically marked as involving finite generations of selfing. 
selfing(pedigree)

rohan-shah/mpMap2 documentation built on July 21, 2020, 8:58 p.m.