rearrangeGroup: Merge two clusters.

Description Usage Arguments Value

View source: R/rearrangeGroup.R

Description

Merge two clusters. This is done after finding the results of matchGroups and knowing which two groups are actually part of the same chromosome.=

Usage

1
rearrangeGroup(group1Index, group2Index, cutlist, pathData)

Arguments

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

Value

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


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