CorNN: Find the knn indices in data for all cells in query using...

View source: R/mapping.R

CorNNR Documentation

Find the knn indices in data for all cells in query using Pearson's correlation dissimilarity

Description

Note: "query" here is used to mimic RANN documentation, not Seurat documentation

Usage

CorNN(data, query = data, k = 5)

Arguments

data

a (M cell x d feature) matrix

query

a (N cell x d feature) matrix. If not specified, query = data.

k

number of nearest neighbors to find

Value

a N x k matrix containing nearest neighbors for each cell in query


CamaraLab/STvEA documentation built on April 2, 2024, 6:07 a.m.