pullMap: Creates map object

Description Usage Arguments Value Examples

Description

Creates map object from matrix of pairwise recombination frequencies.

Usage

1
pullMap(rf, split, fun = "haldane", corr = 1)

Arguments

rf

Matrix of pairwise recombination frequencies.

split

Split object.

fun

Function to space the markers on the map. Default is "haldane". Alternatives are "kosambi", "carter" and "none.

corr

Corrector, if recombinations are overestimated. Allows to multiply all spaces by a fixed factor.

Value

Ordered vector of marker locations. Each marker has a name attribute.

Examples

1
2
3
4
5
6
data(simTetra)
simTetrageno <- bases2genotypes(simTetra, 4)
rfMat <- calcRec(simTetrageno, 4)
split <- splitChr(rfMat, nchr = 7)
split <- sortLeafs(rfMat, split)
pullMap(rfMat, split = split)   

pergola documentation built on May 2, 2019, 3:22 a.m.