powered by
Initialize circular heatmaps
circos.heatmap.initialize(mat, split = NULL, cluster = TRUE, clustering.method = "complete", distance.method = "euclidean", dend.callback = function(dend, m, si) reorder(dend, rowMeans(m)), cell_width = rep(1, nrow(mat)))
A matrix or a vector. The vector is transformed as a one-column matrix.
A categorical variable. It splits the matrix into a list of matrices.
whether to apply clustering on rows. The value can also be a dendrogram/hclust object or other objects that can be converted to with as.dendrogram.
dendrogram
hclust
as.dendrogram
Clustering method, pass to hclust.
Distance method, pass to dist.
dist
A callback function that is applied to the dendrogram in every sector.
Relative widths of heatmap cells.
https://jokergoo.github.io/2020/05/21/make-circular-heatmaps/
# There is no example NULL
Run the code above in your browser using DataLab