FilterAnchors: Filter anchors, keeping those that are also in the knn of the...

View source: R/seurat_anchor_correction.R

FilterAnchorsR Documentation

Filter anchors, keeping those that are also in the knn of the L2Norm of the original feature space

Description

Filter anchors, keeping those that are also in the knn of the L2Norm of the original feature space

Usage

FilterAnchors(
  ref_mat,
  query_mat,
  anchors,
  k.filter = 200,
  eps = 0,
  verbose = FALSE
)

Arguments

ref_mat

a (cell x feature) protein expression matrix

query_mat

a (cell x feature) protein expression matrix to be corrected

anchors

the list of anchors between matrix1 and matrix2 as output by FindAnchorPairs

k.filter

number of nearest neighbors in original feature space to use for filtering

eps

error bound on the neighbor finding algorithm (from RANN)

verbose

...

Value

a matrix where each row is an anchor pair of cell indices


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