Learn R Programming

mpMap2 (version 1.0.0)

fourParentPedigreeSingleFunnel: Generate a four-parent pedigree

Description

Generate a four-parent pedigree starting from inbred founders, using a single funnel

Usage

fourParentPedigreeSingleFunnel(
  initialPopulationSize,
  selfingGenerations,
  nSeeds = 1L,
  intercrossingGenerations
)

Arguments

initialPopulationSize

The number of F1 lines generated

selfingGenerations

The number of selfing generations at the end of the pedigree

nSeeds

The number of progeny taken from each intercrossing line, or from each F1 if no intercrossing is specified. These lines are then selfed according to selfingGenerations

intercrossingGenerations

The number of generations of intercrossing, after each F2 line is generated.

Value

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

Details

Note that unlike fourParentPedigreeRandomFunnels, there is no intercrossing allowed in the single funnel case because the relevant haplotype probabilities assume randomly chosen funnels

See Also

fourParentPedigreeRandomFunnels, twoParentPedigree