cluster-spectrum {SomaticSignatures} | R Documentation

## Cluster Mutational Spectrum

### Description

Cluster the mutational spectrum by sample or motif.

### Usage

    clusterSpectrum(m, by = c("sample", "motif"), distance = "Cosine", ...)

### Arguments

`m` | Mutational spectrum matrix
`by` | Dimension to cluster by.
`distance` | Distance function used in the clustering.
`...` | Additional arguments passed to 'hclust'.

### Details

Hierachical clustering of the motif matrix aka mutational spectrum.

### Value

An 'hclust' object.

### See Also

`hclust`

`dist`

[Package SomaticSignatures version 2.26.0 Index]