AnnoyBuildIndex: Build the annoy index Ref: Seurat

View source: R/knn.R

AnnoyBuildIndexR Documentation

Build the annoy index Ref: Seurat

Description

Build the annoy index Ref: Seurat

Usage

AnnoyBuildIndex(data, metric = "euclidean", n.trees = 50)

Arguments

data

Data to build the index with

metric

Distance metric; can be one of "euclidean", "cosine", "manhattan", "hamming"

n.trees

More trees gives higher precision when querying

Value

RccAnny::Annoymetric class


beyondpie/pureRUtils documentation built on Jan. 10, 2023, 3:22 a.m.