R: Determine the total number of markers

totmar {qtl} | R Documentation

## Determine the total number of markers

### Description

Determine the total number of markers in a cross or map object.

### Usage

    totmar(object)

### Arguments

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

### Value

The total number of markers in the input.

### Author(s)

Karl W Broman, broman@wisc.edu

### See Also

`read.cross`, `plot.cross`, `summary.cross`, `nind`, `nchr`, `nmar`, `nphe`

### Examples

    data(fake.f2)
    totmar(fake.f2)
    map <- pull.map(fake.f2)
    totmar(map)

[Package qtl version 1.46-2 Index]