getPositions: Get positions of genetic markers

Description Usage Arguments Details Value Examples

View source: R/getPositions.R

Description

Get positions of genetic markers, on their respective chromosomes

Usage

1

Arguments

mpcrossMapped

The mpcross object containing the map of interest

markers

The markers for which to get the positions

Details

Get positions of genetic markers in cM, on their respective chromosomes

Value

A named vector of numbers, with names corresponding to the selected genetic markers, and values corresponding to genetic positions.

Examples

1
2
3
4
5
map <- qtl::sim.map()
pedigree <- f2Pedigree(1000)
cross <- simulateMPCross(map = map, pedigree = pedigree, mapFunction = haldane, seed = 1)
mappedCross <- mpcrossMapped(cross = cross, map = map)
getPositions(mappedCross, c("D13M3", "DXM1", "DXM3"))

rohan-shah/mpMap2 documentation built on July 21, 2020, 8:58 p.m.