FindAllNearestNeighbour: FindAllNearestNeighbour: apply 'FindNearestNeighbour' to...

Description Usage Arguments Value

View source: R/search.R

Description

FindAllNearestNeighbour: apply 'FindNearestNeighbour' to every rows of query

Usage

1
2
FindAllNearestNeighbour(query, reference, radius = 2, topN = 5,
  ncores = 1)

Arguments

query

an element-by-feature query matrix

reference

an element-by-feature reference matrix

radius

radius for short-encoding threshold

topN

number of nearest neighbours to return

ncores

number of cores used in parallelization (currently not supported :(, sorry )

Value

Searching results, a dataframe including the row indices of found elements and distances


chansigit/scFly documentation built on Nov. 4, 2019, 8:49 a.m.