add_offset: Add offset

Description Usage Arguments Value Examples

Description

Add offset to zero distance markers to allow computation of correlation between maps.

Usage

1
add_offset(map, offset = 0.1)

Arguments

map

One map. Required.

offset

Numeric value for offset.

Value

Map object.

Examples

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

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