View source: R/find_markerpos.R
find_markerpos | R Documentation |
Find positions of markers within a cross object
find_markerpos(cross, markers, na.rm = TRUE)
cross |
Object of class |
markers |
A vector of marker names. |
na.rm |
If TRUE, don't include not-found markers in the
results (but issue a warning if some markers weren't found). If
FALSE, include those markers with |
A data frame with chromosome and genetic and physical
positions (in columns "gmap"
and "pmap"
), with markers as
row names. If the input cross
is not a cross2 object but
rather a map, the output contains chr
and pos
.
find_marker()
iron <- read_cross2(system.file("extdata", "iron.zip", package="qtl2"))
# find markers
find_markerpos(iron, c("D8Mit294", "D11Mit101"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.