drop_markers: Drop markers from a cross2 object

Description Usage Arguments Value See Also Examples

View source: R/drop_markers.R

Description

Drop a vector of markers from a cross2 object.

Usage

1
drop_markers(cross, markers)

Arguments

cross

Object of class "cross2". For details, see the R/qtl2 developer guide.

markers

A vector of marker names.

Value

The input cross with the specified markers removed.

See Also

pull_markers(), drop_nullmarkers()

Examples

1
2
3
grav2 <- read_cross2(system.file("extdata", "grav2.zip", package="qtl2"))
markers2drop <- c("BH.342C/347L-Col", "GH.94L", "EG.357C/359L-Col", "CD.245L", "ANL2")
grav2_rev <- drop_markers(grav2, markers2drop)

qtl2 documentation built on Oct. 18, 2021, 1:06 a.m.