Description Usage Arguments See Also
Uses a k
-NN classifier to label cells that are marked as 'unassigned' in an existing manual annotation vector.
A majority vote is taken among nearest neighbours to an unassigned cells, excluding other unassigneds.
This procedure can be repeated in multiple consecutive iterations.
1 2 3 4 5 6 7 8 9 | ExtendGates(
exprs,
annotation,
unassigned_labels,
knn_indices,
k = NULL,
n_iter = 1,
verbose = TRUE
)
|
exprs |
numeric matrix: a coordinate matrix of biological expression data (columns correspond to markers, rows correspond to cells) |
annotation |
string or factor vector: vector of labels per each row of |
unassigned_labels |
string or string vector: names of population labels to handle as 'unassigned' events (not belonging to a manually annotated population) |
knn_indices |
numeric matrix: the |
k |
integer: number of nearest neighbours of each point to use for labelling. Default value is the maximum possible value ( |
n_iter |
integer: number of labelling iterations. Default value is |
verbose |
logical: whether to display progress messages. Default value is |
ComputekNNMatrix
: finds k
nearest neighbours to each point in high-dimensional expression data
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.