STS_sorting: A sorting function using the Side-to-Side (STS) algorithm

Description Usage Arguments Value

Description

A sorting function using the Side-to-Side (STS) algorithm

Usage

1
STS_sorting(d, max_iter = 10)

Arguments

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.

Value

A list containing ordering(a vector of re-ordered sequence) and cost(a numeric value).


JinmiaoChenLab/uSORT documentation built on May 7, 2019, 10:53 a.m.