Learn R Programming

mpMap (version 1.14)

computemap: Computes map distances

Description

Given an mpcross object with a map order and matrix of recombination fractions, this function will estimate map positions

Usage

computemap(object, mapfx = c("haldane", "kosambi"), missfx = 2)

Arguments

object
Object of class mpcross
mapfx
Map function to convert recombination fractions to cM
missfx
Function to impute missing recombination fraction values

Value

An mpcross object is returned whose map component has been estimated based on the map order and matrix of recombination fractions. Missing recombination fractions are imputed either by filling in the closest non-missing value (missfx=1) or by averaging the distance between other nearby markers (missfx=2).

See Also

mpcross