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

1
pull.markers(cross, markers)

Arguments

cross

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

markers

A character vector of marker names.

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.)

Author(s)

Karl W Broman, kbroman@biostat.wisc.edu

See Also

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

Examples

1
2
data(listeria)
listeria2 <- pull.markers(listeria, c("D10M44","D1M3","D1M75"))

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.