Description Usage Arguments Author(s)
Calculates Euclidean distance in PCA space.
1 | getKNN(pca, pcs, k)
|
pca |
Matrix; Principal components as columns, samples as rows. |
pcs |
Integer; Length 1 vector indicating the max principal component to retain. |
k |
Integer; Number of nearest neighbors. |
Jason T. Serviss
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.