View source: R/seurat_anchor_correction.R
FindNNrna | R Documentation |
Find nearest neighbors
FindNNrna(
ref_emb,
query_emb,
rna_mat,
cite_index = 1,
k = 300,
eps = 0,
verbose = FALSE
)
ref_emb |
a (cell x feature) embedding of a protein expression matrix |
query_emb |
a (cell x feature) embedding of protein expression matrix to be corrected |
rna_mat |
a (cell x feature) embedding of the mRNA expression matrix from CITE-seq |
cite_index |
which matrix (1 or 2) is the CITE-seq protein expression matrix |
k |
number of nearest neighbor to find between the matrices |
eps |
error bound on nearest neighbor search (see eps parameter for nn2) |
verbose |
... |
list of nearest neighbor lists: nnab = for each cell in a, its knn in b nnba = for each cell in b, its knn in a nnbb = knn within b, nnaa = knn within a
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.