Label transfer via KNN
KnnLabelTransfer(query.emb, ref.emb, ref.labels, k = 100)
The embedding matrix of query data.
The embedding matrix of reference atlas.
A named vector <cell name, labels>.
K nearest neighbors used. Default: 100
A data.frame contains prediction results.