Learn R Programming

qtl (version 1.39-5)

chrlen: Chromosome lengths in QTL experiment

Description

Obtain the chromosome lengths in a cross or map object.

Usage

chrlen(object)

Arguments

object
An object of class map or of class cross.

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.

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