ggplot2简单实现waterfall柱形图
安装最新版ggplot2,导入数据:
1 | >library(ggplot2) |
1 | > data$colour <- ifelse(data$count < 0, "downregulate", "upregulate") |
最终效果
安装最新版ggplot2,导入数据:
1 | >library(ggplot2) |
1 | > data$colour <- ifelse(data$count < 0, "downregulate", "upregulate") |
最终效果