Description Usage Arguments Value
This function pares down a given rf matrix by keeping or removing the markers that are not in the provided subtour. This is used when we want to pass a subset of the markers into a TSP solver.
1 | pareMatrix(rfmatrix, markerIndexList, keep, clusters)
|
rfmatrix |
- matrix of recombination frequency values produced by the rfmatrix.R/computeRFmat function |
markerIndexList |
- list of the indices of the markers that you want to be included in the pared down matrix. NOTE: this list is most easily obtained by using the cutpoint array that is produced by the cutpoints.R/findcuts function. |
keep |
(OPTIONAL) - this flag indicates whether you want to keep the markers that are in the markerIndexList, or discard them. |
clusters |
(OPTIONAL) - this flag indicates whether you are passing in a cluster of marker ids or a markerlist. |
submatrix of rfmatrix that only includes or excludes the markers given in markerIndexList, depending on the value of the keep flag.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.