Learn R Programming

qtl (version 1.39-5)

nmar: Determine the numbers of markers on each chromosome

Description

Determine the number of markers on each chromosome in a cross or map object.

Usage

nmar(object)

Arguments

object
An object of class cross (see read.cross for details) or map (see sim.map for details).

Value

A vector with the numbers of markers on each chromosome in the input.

See Also

read.cross, plot.cross, summary.cross, nind, nchr, totmar, nphe

Examples

Run this code
data(fake.f2)
nmar(fake.f2)
map <- pull.map(fake.f2)
nmar(map)

Run the code above in your browser using DataLab