Description Usage Arguments Value Examples
View source: R/kernel_functions.R
CNN_kernel: fast adaptive density-aware kernel
1 | CNN_kernel(mat, NN = 3, NN2 = 7)
|
mat |
Matrix: matrix should have samples as columns and rows as features |
NN |
Numerical value: the number of nearest neighbours to use when calculating local sigma |
NN2 |
Numerical value: the number of nearest neighbours to use when calculating common nearest neighbours |
A kernel matrix
1 | CNN_kern <- CNN_kernel(blobs[,1:50])
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.