Learn R Programming

mpMap2 (version 1.0.4)

f2Pedigree: Generate an F2 pedigree which starts from inbred founders

Description

Generate an F2 pedigree which starts from inbred founders

Usage

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

Run this code
# NOT RUN {
pedigree <- f2Pedigree(1000)
#This pedigree is automatically marked as involving finite generations of selfing. 
selfing(pedigree)
# }

Run the code above in your browser using DataLab