Learn R Programming

qtl (version 1.70)

chrlen: Chromosome lengths in QTL experiment

Description

Obtain the chromosome lengths in a cross or map object.

Usage

chrlen(object)

Value

Returns a vector of chromosome lengths. If the cross has sex-specific maps, it returns a 2-row matrix with the two lengths for each chromosome.

Arguments

object

An object of class map or of class cross.

Author

Karl W Broman, broman@wisc.edu

See Also

summaryMap, pull.map, summary.cross

Examples

Run this code
data(fake.f2)
chrlen(fake.f2)

map <- pull.map(fake.f2)
chrlen(map)

Run the code above in your browser using DataLab