neighborhood_sorting: A sorting function using the Neighborhood algorithm

Description Usage Arguments Value

Description

A sorting function using the Neighborhood algorithm

Usage

1
neighborhood_sorting(d, weights_mat = NULL, max_iter = 100)

Arguments

d

A matrix containing n-by-n cell distance.

weights_mat

A weight matrix of size n-by-n.

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.