spectralClustering {CiteFuse} | R Documentation

## spectralClustering

### Description

A function to perform spectral clustering

### Usage

    spectralClustering(
      affinity,
      K = 20,
      type = 4,
      maxdim = 50,
      delta = 1e-05,
      t = 0,
      neigen = NULL
    )

### Arguments

`affinity` | An affinity matrix
`K` | number of clusters
`type` | type
`maxdim` | Maximum dimension
`delta` | delta
`t` | t
`neigen` | neigen

### Value

A list indicates the spectral clustering results

### Examples

    data(sce_control_subset, package = "CiteFuse")
    sce_control_subset <- CiteFuse(sce_control_subset)
    SNF_W <- S4Vectors::metadata(sce_control_subset)[["SNF_W"]]
    SNF_W_clust <- spectralClustering(SNF_W, K = 5)

[Package CiteFuse version 1.0.0 Index]