cluster-spectrum {SomaticSignatures} | R Documentation |
Cluster the mutational spectrum by sample or motif.
clusterSpectrum(m, by = c("sample", "motif"), distance = "Cosine", ...)
m |
Mutational spectrum matrix |
by |
Dimension to cluster by. |
distance |
Distance function used in the clustering. |
... |
Additional arguments passed to 'hclust'. |
Hierachical clustering of the motif matrix aka mutational spectrum.
An 'hclust' object.