count.absorb: Count absorbing states

View source: R/ril_prob.R

count.absorbR Documentation

Count absorbing states

Description

Determine the absorbing states of the Markov chain for the generation of recombinant inbred lines.

Usage

count.absorb(n.strains=c("2","4"),type=c("selfing","sibmating"),
         chrtype=c("A","X"),n.loci=c("2","3"))

Arguments

n.strains

Number of parental strains.

type

Method for mating.

chrtype

Indicates autosome or X chromosome (when type=sibmating only).

n.loci

Number of loci.

Value

A vector whose names indicate the minimal set of absorbing states, and whose elements are the number of the full states corresponding to each.

Author(s)

Karl W Broman, broman@wisc.edu

References

Haldane, J. B. S. and Waddington, C. H. (1931) Inbreeding and linkage. Genetics 16, 357–374.

Broman, K. W. (2005) The genomes of recombinant inbred lines. Genetics 169, 1133–1146.

Examples

  count.absorb()

kbroman/ricalc documentation built on May 17, 2023, 11:54 p.m.