do_kmeans_clustering: Do k-means clustering on data matrix, genes in rownames,...

View source: R/do_kmeans_clustering.R

do_kmeans_clusteringR 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

Description

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

Usage

do_kmeans_clustering(data_matrix, k_clusters = 5, colseps = NULL,
  annotation = NULL, breaks = c(-4, seq(-1.5, 1.5, length = 100), 4))

Arguments

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


KSheu/ksheu.library1 documentation built on Jan. 28, 2025, 3:26 p.m.