CNN_kernel: CNN_kernel: fast adaptive density-aware kernel

Description Usage Arguments Value Examples

View source: R/kernel_functions.R

Description

CNN_kernel: fast adaptive density-aware kernel

Usage

1
CNN_kernel(mat, NN = 3, NN2 = 7)

Arguments

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

Value

A kernel matrix

Examples

1
CNN_kern <- CNN_kernel(blobs[,1:50])

Spectrum documentation built on Feb. 10, 2020, 9:07 a.m.