imputeKnnSCoPE2.Rd
The function imputes missing data using the k-nearest neighbours (KNN) approach using Euclidean distance as a similarity measure between the cells. This function was provided as part of the SCoPE2 publication (Specht et al. 2021).
imputeKnnSCoPE2(object, i, name = "KNNimputedAssay", k = 3)
The implementation of the imputation was retrieved from https://github.com/SlavovLab/SCoPE2
A QFeatures
object
A numeric()
or character()
vector indicating from
which assays the rowData
should be taken.
A character(1)
naming the new assay name. Default is
KNNimputedAssay
.
An integer(1)
giving the number of neighbours to use.
An object of class QFeatures
containing an extra assay
with imputed values.
Specht, Harrison, Edward Emmott, Aleksandra A. Petelski, R. Gray Huffman, David H. Perlman, Marco Serra, Peter Kharchenko, Antonius Koller, and Nikolai Slavov. 2021. “Single-Cell Proteomic and Transcriptomic Analysis of Macrophage Heterogeneity Using SCoPE2.” Genome Biology 22 (1): 50.