FindNearestNeighbour: FindNearestNeighbour: Given cell's short encoding and long...

Description Usage Arguments Value

View source: R/search.R

Description

FindNearestNeighbour: Given cell's short encoding and long encoding, search its most similar cell

Usage

1
2
FindNearestNeighbour(query.shortEncoding, query.longEncoding,
  referenceObject, radius = 2, topN = 5, return.simple = FALSE)

Arguments

query.shortEncoding

a short binary vector for multi-probe searching

query.longEncoding

a long binary vector for searching

referenceObject

a group of cells for reference

radius

hamming distance threshold radius

topN

number of nearest neighbours returned

return.simple

whether the function returns row indices only

Value

the row name of the obtained item


chansigit/scFly documentation built on Nov. 10, 2020, 12:33 a.m.