View source: R/seurat_anchor_correction.R
FindWeights | R Documentation |
Calculates weights of the k nearest anchors for each cell in the query dataset
FindWeights(
neighbors,
anchors,
query_mat,
integration.matrix,
k.weight = 300,
sd.weight = 1,
eps = 0,
verbose = TRUE
)
neighbors |
list of neighbors in CCA space as output by FindNN |
anchors |
list of anchors as output by FindAnchorPairs or FilterAnchors |
query_mat |
a (cells x features) matrix for the query dataset (protein or mRNA) |
integration.matrix |
the output of FindIntegrationMatrix |
sd.weight |
standard deviation of the Gaussian kernel |
eps |
Error bound on the neighbor finding algorithm (from |
verbose |
... |
k |
number of nearest anchors to use in correction |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.