Description Usage Arguments Value
View source: R/rearrangeGroup.R
Merge two clusters. This is done after finding the results of matchGroups and knowing which two groups are actually part of the same chromosome.=
1 | rearrangeGroup(group1Index, group2Index, cutlist, pathData)
|
group1Index |
- index of the first group |
group2Index |
- index of the second group |
cutlist |
- cutlist array, produced by cutpoints.R/findcuts function |
pathData |
- TSP solution object, produced by TSPinterface.R/processConcordeOutput or TSPinterface.R/processLKHOutput |
List of the new cutpointArray and TSP solution, after the two groups have been merged. Get the return values like this: result = rearrangeGroup(1, 2, cutpointArray, TSPsolution) newCutpointArray = result$v1 newTSPsolution = result$v2
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.