Description Usage Arguments Value
Construct a Shared Nearest Neighbor (SNN) Graph for a given dataset.
1 2 3 |
object |
Seurat object |
genes.use |
Gene expression data |
pc.use |
Which PCs to use for construction of the SNN graph |
k.param |
Defines k for the k-nearest neighbor algorithm |
k.scale |
granularity option for k.param |
plot.SNN |
Plot the SNN graph |
prune.SNN |
Stringency of pruning for the SNN graph (0 - no pruning, 1 - prune everything) |
do.sparse |
Whether to compute and return the SNN graph as a sparse matrix or not |
print.output |
Whether or not to print output to the console |
Returns the object with object@snn.k and either object@snn.dense or object@snn.sparse filled depending on the option set
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.