countxo: Estimate number of crossovers

View source: R/util.R

countxoR Documentation

Estimate number of crossovers

Description

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

Usage

countxo(cross, chr = NULL)

Arguments

cross

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

chr

Optional set of chromosomes across which to count crossovers. If NULL, 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, broman@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)


xoi documentation built on March 31, 2023, 9:27 p.m.

Related to countxo in xoi...