capRFmat: Cap the rf matrix according to the given threshold.

Description Usage Arguments Value

View source: R/capRFmat.R

Description

For all recombination frequency value that are above the threshold parameter, this function raises these values to capval. This is done in order to reduce the runtime of the TSP solvers.

Usage

1
capRFmat(rfmat, threshold, capval)

Arguments

rfmat

- recombination frequency matrix.

threshold

- upper limit on meaningful rf values.

capval

- value to which rf values above threshold will be set.

Value

matrix of recombination frequency values, with all values above threshold set to capval


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