0
欲增加由superheat
包在R.创建的热图ř过热封装热图:改变底轴标签字体大小
按照vignette,这可以通过完成bottom.label.size
的底部轴标签尺寸参数。然而,这并没有改变字体大小,我(见下文RSession),但只改变其中标签的书写框的边缘:
library(dplyr)
library(superheat)
matrix(1:9, ncol = 3) %>% superheat(bottom.label.size = 0.1)
matrix(1:9, ncol = 3) %>% superheat(bottom.label.size = 0.05)
有谁知道如何控制这个?这是一个错误还是我错过了什么?
RSession信息:
R version 3.3.2 (2016-10-31)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 7 x64 (build 7601) Service Pack 1
locale:
[1] LC_COLLATE=English_United States.1252 LC_CTYPE=English_United States.1252 LC_MONETARY=English_United States.1252
[4] LC_NUMERIC=C LC_TIME=English_United States.1252
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] superheat_0.1.0 dplyr_0.5.0
loaded via a namespace (and not attached):
[1] Rcpp_0.12.8 digest_0.6.11 assertthat_0.1 grid_3.3.2 R6_2.2.0 plyr_1.8.4
[7] gtable_0.2.0 DBI_0.5-1 magrittr_1.5 scales_0.4.1 ggplot2_2.2.1 lazyeval_0.2.0
[13] labeling_0.3 tools_3.3.2 munsell_0.4.3 colorspace_1.3-2 tibble_1.2
https://rlbarter.github.io/superheat/legend.html#size-3了解传说大小。 'bottom.label.size'更改底部标签,你的情况是1 2 3 –
我不希望更改图例大小。我知道'bottom.label.size',并且已经证明它在这个简单的例子中不起作用。 –
你说得对,我误解了你的问题。 'bottom.label.text.size'参数怎么样? –