Learn R Programming

qtl (version 1.70)

markernames: Pull out the marker names from a cross

Description

Pull out the marker names from a cross object as one big vector.

Usage

markernames(cross, chr)

Value

A vector of character strings (the marker names).

Arguments

cross

An object of class cross. See read.cross for details.

chr

Optional vector indicating the chromosomes to consider. This should be a vector of character strings referring to chromosomes by name; numeric values are converted to strings. Refer to chromosomes with a preceding - to have all chromosomes but those considered. A logical (TRUE/FALSE) vector may also be used.

Author

Karl W Broman, broman@wisc.edu

See Also

pull.map, phenames, chrnames

Examples

Run this code
data(listeria)
markernames(listeria, chr=5)

Run the code above in your browser using DataLab