ScoreAnchors: Score anchors between 0 and 1 based on shared nearest...

View source: R/seurat_anchor_correction.R

ScoreAnchorsR Documentation

Score anchors between 0 and 1 based on shared nearest neighbors

Description

Score anchors between 0 and 1 based on shared nearest neighbors

Usage

ScoreAnchors(
  neighbors,
  anchors,
  num_cells_ref,
  num_cells_query,
  k.score = 30,
  verbose = FALSE
)

Arguments

neighbors

list of neighbors in CCA space as output by FindNN

anchors

list of anchors as output by FindAnchorPairs or FilterAnchors

num_cells_ref

total number of cells in dataset1

num_cells_query

total number of cells in dataset2

k.score

number of nn to use in shared nearest neighbor scoring

verbose

...

Value

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


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