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

Description Usage Arguments Value

View source: R/SPIN.r

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).


uSORT documentation built on May 20, 2017, 9:46 p.m.

Search within the uSORT package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.