find_knn_parallel_tree: Parallel KNN for Trees

View source: R/Utilities.R

find_knn_parallel_treeR Documentation

Parallel KNN for Trees

Description

Computes nearest-neighbor indices and distances in parallel. Query is over all points and results do not include the self-distance.

Usage

find_knn_parallel_tree(tree, K)

Arguments

tree

an object of class phylo

K

number of neighbors to query

Value

list with two items: index: Samples x K matrix of neighbor indices dist: Samples x K matrix of neighbor distances


YosefLab/VISION documentation built on Feb. 19, 2023, 9:50 p.m.