R: Number of genotypes

ntyped {qtl} | R Documentation

## Number of genotypes

### Description

Count the number of genotypes for each individual or each marker in a cross.

### Usage

    ntyped(cross, what=c("ind","mar"))

### Arguments

`cross` | An object of class `cross`. See `read.cross` for details.
`what` | Indicates whether to count genotypes for each individual or each marker.

### Value

A vector containing the number of genotypes for each individual or for each marker.

### Author(s)

Karl W Broman, broman@wisc.edu

### See Also

`nmissing`, `summary.cross`, `nind`, `totmar`

### Examples

    data(listeria)

    # plot number of genotypes for each individual
    plot(ntyped(listeria))

    # plot number of genotypes for each marker
    plot(ntyped(listeria, what="mar"))

[Package qtl version 1.46-2 Index]