我正在使用rmarkdown
viaR-Studio
并想heatmap
通过heatmap.2
. strCol
当我通过选项更改列标签的角度时,我会在输出 PDF 文件NULL
之前打印一条消息。
附上一个最小的代码重现问题:heatmap
{r, message=FALSE,warning=FALSE, echo=FALSE}
require(gplots)
data(mtcars)
x <- as.matrix(mtcars)
heatmap.2(x,srtCol=0)
PDF看起来像
有没有办法NULL
从 PDF 输出中删除它?