STS_sorting {uSORT} | R Documentation |
A sorting function using the Side-to-Side (STS) algorithm
STS_sorting(d, max_iter = 10)
d |
A matrix containing n-by-n cell distance. |
max_iter |
An integer number indicating the maximum number of iteration if sorting does not converge. |
A list containing ordering
(a vector of re-ordered sequence) and
cost
(a numeric value).