spectralClusteringAffinity {ccml}R Documentation

Perform spectral clustering algorithms for an affinity matrix, using SNFtool::spectralClustering.

Description

Perform spectral clustering algorithms for an affinity matrix, using SNFtool::spectralClustering.

Usage

spectralClusteringAffinity(affi_matrix, k, type = 3)

Arguments

affi_matrix

A numerical similarity or affinity matrix.

k

A number value of clusters

type

The variants of spectral clustering to use. See SNFtool::spectralClustering

Value

A vector consisting of cluster labels of each sample.


[Package ccml version 1.4.0 Index]