sortRFmatrix: This function sorts the rfmatrix so that the markers are in...

Description Usage Arguments Value

View source: R/sortRFmatrix.R

Description

This function sorts the rfmatrix so that the markers are in the same order as the TSP tour. The resultant matrix of this function is used in the cutpoints.R/matchGroups function. NOTE: The resultant matrix of this function cannot be sent to the writeRFmat function because the columns/rows no longer match up with the main markerdata object.

Usage

1
sortRFmatrix(rfmatrix, pathData, saveFlag)

Arguments

rfmatrix

- matrix of recombination frequency values produced by the rfmatrix.R/computeRFmat function

pathData

- TSP tour and weights, produced by the TSPinterface.R/processConcordeOutput function

saveFlag

- if saveFlag == 1, save sorted matrix to file

Value

matrix of recombination frequency values sorted in order of TSP tour


mckaylab/TSPmap documentation built on Aug. 19, 2021, 8:38 p.m.