powered by
Smooths expression values across the k-nearest neighbors based on dimensional reduction
AddSmoothedScore(object, genes.fit = NULL, dim.1 = 1, dim.2 = 2, reduction.use = "tsne", k = 30, do.log = FALSE, do.print = FALSE)
Seurat object
Genes to calculate smoothed values for
Dimension 1 to use for dimensional reduction
Dimension 2 to use for dimensional reduction
Dimensional reduction to use
k-param for k-nearest neighbor calculation. 30 by default
Whether to perform smoothing in log space. Default is false.
Print progress (output the name of each gene after it has been imputed).
# NOT RUN { pbmc_small <- AddSmoothedScore(object = pbmc_small, genes.fit = "MS4A1", reduction.use = "pca") # }
Run the code above in your browser using DataLab