Last data update: 2014.03.03

R: Estimate number of crossovers
countxoR Documentation

Estimate number of crossovers

Description

Estimate the number of crossovers in each meiosis in a backcross.

Usage

countxo(cross, chr)

Arguments

cross

An object of class cross. (This must be a backcross.) See read.cross for details.

chr

Optional set of chromosomes across which to count crossovers. If missing, the total number of crossovers, genome-wide, is counted.

Details

This works only a backcross. We use the internal function (within R/qtl) locate.xo.

Value

A vector with the estimated number of crossovers for each individual.

Author(s)

Karl W Broman, kbroman@biostat.wisc.edu

See Also

find.breaks

Examples

data(bssbsb)

# estimated number of crossovers on chr 1
nxo <- countxo(bssbsb, chr=1)

# estimated number of crossovers genome-wide
nxo <- countxo(bssbsb)

Results