Main public logs
Appearance
Combined display of all available logs of 太極. You can narrow down the view by selecting a log type, the username (case-sensitive), or the affected page (also case-sensitive).
- 10:48, 1 December 2025 Brb talk contribs created page File:Dendro colorbars.png (<syntaxhighlight lang='r'> library(ComplexHeatmap) library(circlize) library(RColorBrewer) set.seed(123) # --- Example data (10 samples) --- mat <- matrix(rnorm(30), nrow = 10) rownames(mat) <- paste0("Sample", 1:10) mat[1:5, ] <- mat[1:5, ] mat[6:10, ] <- mat[6:10, ] + 2 # Cluster on samples (rows) hc <- hclust(dist(mat)) # Annotations in ORIGINAL sample order groups <- rep(c("A", "B"), each = 5) score <- seq(0, 1, length = 10) cl2 <- cutree(hc, 2) cl3 <- cutree(hc, 3) cl4 <- cutree(hc,...)