You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

R语言ggplot2绘制直方图无数据显示问题求助

基因表达数据直方图绘制问题
  • 尝试使用ggplot2包及R原生hist()函数绘制基因表达数据的直方图
  • 调整过箱宽(binwidth)和箱数,但输出结果始终与原提问附示的图示类似(原提问同时提供了直方图输出图及I98_FBS列数值示例图)

所用代码

geneCount = read.delim("smc_gene_expression_counts.txt")
geneCount$I98_FBS
geneCount %>% ggplot() + geom_histogram(aes(I98_FBS), binwidth = 500)

内容的提问来源于stack exchange,提问作者A.Konny

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.08.11 15:20:22