排除热图row_side_colors
我正在尝试使用 heatmaply 在 rstudio 中进行基本的热图。我的数据看起来像这样:
我尝试了以下命令:
eg <- read.delim(file="example_heatmap.txt", header=T, sep="\t")
heatmaply(
file="heatmap_eg.png",
height=2000,
eg,
colors=colorRampPalette(colors=c("lightblue", "darkblue")),
column_text_angle = 45,
plot_method = "plotly",
key.title = "Ab",
labRow = eg[,1]
)
the output:
现在,在输出图中,我不希望每行的颜色栏。我尝试了不同的选项,但无法摆脱行的颜色棒。我希望我的输出像以下一个:
请帮助。 您的所有反馈都非常感谢。 谢谢, 艾尔维
I'm trying to make a basic heatmap in RStudio using heatmaply. My data look like this:
I tried these commands:
eg <- read.delim(file="example_heatmap.txt", header=T, sep="\t")
heatmaply(
file="heatmap_eg.png",
height=2000,
eg,
colors=colorRampPalette(colors=c("lightblue", "darkblue")),
column_text_angle = 45,
plot_method = "plotly",
key.title = "Ab",
labRow = eg[,1]
)
The output:
Now, in the output figure, I don't want the color bars at each row. I tried different options but couldn't get rid of the color bars from the rows. I want my output like the following one:
Please help.
All your feedbacks are highly appreciated.
Thanks,
Alvee
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论