View source: R/evaluation_metrics.R
Assign labels to each cell by the mode of neighboring reference cell types
1 2 3 4 5 6 7 8 | asign_labels(
exprs.source,
exprs.target,
labels.source,
k = NULL,
max.k = 50,
verbose = F
)
|
exprs.source |
ncells-by-ngenes expression matrix of source data |
exprs.target |
ncells-by-ngenes expression matrix of target data |
labels.source |
a vector of labels for source cells |
k |
integer, number of nearest neighor (by default |
max.k |
upper bound of k (default 50) |
verbose |
boolean scalar, whether to show extensive program logs (default TRUE) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.