参考博客
https://github.com/satijalab/seurat/issues/8170

运行https://satijalab.org/seurat/articles/visualization_vignette

发生

# Ridge plots - from ggridges. Visualize single cell expression distributions in each cluster
RidgePlot(pbmc3k.final, features = features, ncol = 2)

结果如下
在这里插入图片描述

结果如下

卸载当前版本的ggplot2, 安装3.4.4的版本的ggplot2

下载
https://cran.r-project.org/src/contrib/Archive/ggplot2/

install.packages("/Users/yxk/Desktop/test/ggplot2_3.4.4.tar.gz",type="source",repos=NULL)

然后就可以了

Logo

一站式 AI 云服务平台

更多推荐