Learn R Programming

mpMap2 (version 1.0.4)

rilPedigree: Generate a two-parent RIL pedigree which starts from inbred founders

Description

Generate a two-parent RIL pedigree which starts from inbred founders

Usage

rilPedigree(populationSize, selfingGenerations)

Arguments

populationSize

The size of the generated population

selfingGenerations

Number of generations of selfing. Specifying one generation leads to an F2 design.

Value

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