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

View source: R/util.R

pull.markersR Documentation

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)

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, broman@wisc.edu

See Also

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

Examples

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

qtl documentation built on Sept. 11, 2024, 5:43 p.m.