assign_samples_to_paths: Assign data points to the viable path that are closest to the...

View source: R/mrtree.R

assign_samples_to_pathsR Documentation

Assign data points to the viable path that are closest to the original clustering assignment

Description

Assign data points to the viable path that are closest to the original clustering assignment

Usage

assign_samples_to_paths(labelmat, paths, n.cores = NULL)

Arguments

labelmat

Initial multi-resolution cluster assignment, n-by-m, corresponding to m resolutions

paths

The viable paths

n.cores

Number of cores to use

Value

A vector of length n containing the path index to which the data points are assigned to


pengminshi/MRtree documentation built on March 6, 2023, 4:20 p.m.