Last chance! 50% off unlimited learning
Sale ends in
Drop a vector of markers from a cross2 object.
drop_markers(cross, markers)
The input cross
with the specified markers removed.
Object of class "cross2"
. For details, see the
R/qtl2 developer guide.
A vector of marker names.
pull_markers()
, drop_nullmarkers()
, reduce_markers()
, find_dup_markers()
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)
Run the code above in your browser using DataLab