Generate nearest neighbor per sample
1 |
cells |
data.frame, containing cell metadata |
pc_space |
matrix, containing PCA coordinates (cols = coordiantes, rows = cells) |
k |
numeric, number of neighbors considered for smoothing (default k = 50) |
dim, |
numeric, number of PC dimensions used to compute nearest neighbor graph |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.