Description Usage Arguments Value See Also Examples
Performs K-Means clustering across sections in a SummarizedExperiment
object.
1 | kmeansClust(object, centers, matrix = "normalized", ...)
|
object |
A |
centers |
Integer, number of clusters, namely k. |
matrix |
Character, must be one of |
... |
other parameters passed to |
A SummarizedExperiment
object. The obtained cluster labels are saved in slot meta
.
kmeans
for performing K-Means clustering on a matrix.
1 2 3 4 5 6 7 | data(zh.data)
zh <- createTomo(zh.data)
zh <- kmeansClust(zh, 3)
# Use scaled read counts to calculate distance
zh <- scaleTomo(zh)
zh <- kmeansClust(zh, 3, matrix="scaled")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.