
Calculate the SNF affinity matrix for continuous values
rs_snf_affinity_continuous.RdArguments
- data
Numerical matrix. Needs to be oriented features x samples!
- distance_type
String. One of
c("euclidean", "manhattan", "canberra", "cosine", "correlation"). Which distance metric to use here. Unknown strings default to"euclidean".- k
Integer. Number of neighbours to consider.
- mu
Float. Normalisation factor for the Gaussian kernel width.
- normalise
Boolean. Shall continuous values be Z-scored.