View source: R/do_kmeans_clustering.R
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
1 2 |
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.