[英]How to adjust column labels in heatmap.3
您可以將adjCol設置為居中對齊,將offsetCol設置為向下移動標簽:
heatmap.3(x = as.matrix(res), dist.FUN = dist2, scale = 'row',
color.FUN = col_ylgnbu,
cex.main = 2, trace = 'none', srtCol = 45,
adjCol = c(1,0), offsetCol=1
main = paste(title),
key = T, cexRow = 2, cexCol = 1)
此處有更多注釋: http : //earlglynn.github.io/RNotes/package/gplots/heatmap2.html
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.