Description Usage Arguments Value
Calculates and stores a k-nearest neighbor graph based on Euclidean distance in gene expression space. This is useful for finding and removing outliers prior to calculating a diffusion map.
1 | calcKNN(object, genes.use = object@var.genes, nn = 100)
|
object |
An URD object |
genes.use |
Genes to use for distance (default is variable genes, NULL is all genes.) |
nn |
(Numeric) Number of nearest neighbors |
An URD object with k-nn graph in slot knn
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.