提问人:ghoeltzel 提问时间:10/15/2023 最后编辑:Philghoeltzel 更新时间:10/16/2023 访问量:19
clustree图像生成的复杂性
Complication with clustree image generation
问:
运行以下代码(最初没有 par (lwd = 1) 行)返回以下错误,在设置 par(lwd = 1) 或 0.5 或 10 后再次返回相同的错误。说实话,当我更改该变量而不是更改绘图线条的宽度时,不完全了解发生了什么?
任何见解将不胜感激。我是 R 的新手,并尝试执行一些自己的 scRNA 分析,但想使用 clustree 来可视化和确定数据集中 # 个簇。在这项工作之前,我只会在修拉中搞砸我的决议,并找到一些看似合理的东西——但更喜欢这种方法,并想了解我在未来做错了什么。感谢您的任何帮助!!
#Use clustree to determine best resolution for this dataset
library(clustree)
CD4_PI_clust <- FindClusters(CD4_g_PI, resolution = c(0, .1, .2, .3, .4, .5, .6, .7, .8, .9, 1))
par(lwd = 1)
det_clus_num <- clustree(x = CD4_PI_c[email protected], prefix = "RNA_snn_res.")
det_clus_num
上面解释!
答: 暂无答案
评论