... | ... |
@@ -10,6 +10,7 @@ CHANGES in VERSION 2.9.3 |
10 | 10 |
* `anno_barplot()`: allows to add numbers on top of bars. |
11 | 11 |
* `UpSet()`: axis labels are automatically formated for genomic coordinates. |
12 | 12 |
* `AnnotationFunction()`: add a new argument `cell_fun`. |
13 |
+* When the dendrogram height is zero, the corresponding viewport has scale (0, 1). |
|
13 | 14 |
|
14 | 15 |
========================= |
15 | 16 |
|
... | ... |
@@ -1389,6 +1389,7 @@ anno_barplot = function(x, baseline = 0, which = c("column", "row"), border = TR |
1389 | 1389 |
if(!is.null(attr(value, "labels_format"))) { |
1390 | 1390 |
txt = attr(value, "labels_format")(value[index]) |
1391 | 1391 |
} |
1392 |
+ numbers_rot = numbers_rot %% 360 |
|
1392 | 1393 |
if(numbers_rot == 0) { |
1393 | 1394 |
grid.text(txt, x = seq_along(index), y = unit(baseline + height, "native") + numbers_offset, default.units = "native", gp = subset_gp(numbers_gp, index), just = c("bottom")) |
1394 | 1395 |
} else { |