R基本图形示例及代码(持续收集)

分布图

hist(MetaData$genes, breaks = 100, main = "Gene number distribution", xlab = "Gene number", ylab = "Cell count")
abline(v=3000,col = "blue")
abline(v=9000,col = "red")

  

PCA图

画PCA,还是推荐scater,速度很快,一般的R包真是慢到你难以想象。

Scatterplot with marginal boxplots

在散点图的侧边画箱线图,可以在一张图上提供最多的信息。教程1教程2.

教程

猜你喜欢

转载自www.cnblogs.com/leezx/p/8665495.html