Learn R Programming

qtl (version 1.70)

pull.markers: Drop all but a selected set of markers

Description

Drop all but a selected set of markers from the data matrices and genetic maps.

Usage

pull.markers(cross, markers)

Value

The input object, with any markers not specified in the vector markers removed from the genotype data matrices, genetic maps, and, if applicable, any derived data (such as produced by calc.genoprob). (It might be a good idea to re-derive such things after using this function.)

Arguments

cross

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

markers

A character vector of marker names.

Author

Karl W Broman, broman@wisc.edu

See Also

drop.nullmarkers, drop.markers, geno.table, clean.cross

Examples

Run this code
data(listeria)
listeria2 <- pull.markers(listeria, c("D10M44","D1M3","D1M75"))

Run the code above in your browser using DataLab