nai: Count how many generations of advanced intercross are in a...

Description Usage Arguments Value See Also Examples

View source: R/nai.R

Description

Counts the number of generations of breeding preceding selfing and subtracts off the number necessary to minimally mix the founders' genomes

Usage

1
  nai(pedigree)

Arguments

pedigree

Pedigree for a multi-parent cross. Can be generated using sim.mpped

Value

Integer - number of generations of advanced intercrossing after mixing stage but before selfing.

See Also

sim.mpped

Examples

1
2
3
4
5
sim.map <- list(Chr1=seq(0,100,10))
sim.ped <- sim.mpped(4, 1, 500, 6, 1)
nai(sim.ped)
sim.ped <- sim.mpped(4, 1, 500, 6, 1, 5)
nai(sim.ped)

mpMap documentation built on May 29, 2017, 2:50 p.m.