View source: R/do_kmeans_clustering.R
do_kmeans_clustering | R Documentation |
Do k-means clustering on data matrix, genes in rownames, samples in columnnames Input: Numeric only data matrix with gene names in rownames Output: prints clustered heatmap
do_kmeans_clustering(data_matrix, k_clusters = 5, colseps = NULL,
annotation = NULL, breaks = c(-4, seq(-1.5, 1.5, length = 100), 4))
data_matrix |
matrix or dataframe to cluster, numeric only |
k_clusters |
cluster number, default = 5 |
colseps |
vector of numbers for column separation gaps |
annotation |
Annotation data frame with genenames in rownames |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.