drop_markers {qtl2} | R Documentation |
Drop markers from a cross2 object
Description
Drop a vector of markers from a cross2 object.
Usage
drop_markers(cross, markers)
Arguments
cross |
Object of class |
markers |
A vector of marker names. |
Value
The input cross
with the specified markers removed.
See Also
pull_markers()
, drop_nullmarkers()
, reduce_markers()
, find_dup_markers()
Examples
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)
[Package qtl2 version 0.36 Index]