50% off | Unlimited Data & AI Learning
Get 50% off unlimited learning

mpMap2 (version 1.0.0)

backcrossPedigree: Generate a backcross pedigree which starts from inbred founders

Description

Generate a backcross pedigree which starts from inbred founders

Usage

backcrossPedigree(populationSize)

Arguments

populationSize

The size of the generated population.

Value

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

Details

Generate a backcross pedigree which starts from inbred founders

Examples

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

Run the code above in your browser using DataLab