computeKosambi: Compute genetic distances (in centiMorgans) by the Kosambi...

Description Usage Arguments Value

Description

Compute genetic distances (in centiMorgans) by the Kosambi method, and assign a group number to the markers based on which cutpoint group they are in. NOTE: Recombination frequency values should NOT be divided by 2 before being passed to this function, the function takes care of that.

Usage

1
computeKosambi(pathData, cutpoints)

Arguments

pathData

- TSP solution object, produced by the TSPinterface.R/processConcordeOutput or TSPinterface.R/processLKHOutput functions

cutpoints

- cutpoint array, as produced by the cutpoints.R/findcuts function. The default is NULL, which means that pathData consists of a single chromosome and therefore cutpoints are not needed.

Value

TSP solution object identical to pathData along with genetic distances and group numbers


mckaylab/TSPmap documentation built on May 22, 2019, 3:03 p.m.