find_markerpos: Find positions of markers

Description Usage Arguments Value Examples

Description

Find positions of markers within a cross object

Usage

1
find_markerpos(cross, markers, na.rm = TRUE)

Arguments

cross

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

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 NA for chr and position.

Value

A data frame with chromosome and genetic and physical positions (in columns "gmap" and "pmap"), with markers as row names.

Examples

1
2
3
4
iron <- read_cross2(system.file("extdata", "iron.zip", package="qtl2geno"))

# find markers
find_markerpos(iron, c("D8Mit294", "D11Mit101"))

rqtl/qtl2geno documentation built on May 28, 2019, 2:36 a.m.