前言
如题,最近在使用 Seurat V5 函数 SCTransform 时候遇到了报错:Error: useNames = NA is defunct. Instead, specify either useNames = TRUE or useNames = FALSE
,简单记录解决过程😑
报错场景
R 版本 4.2
Seurat 版本 5.0.2
BiocManager 版本 1.30.22
当运行:
obj <- SCTransform(obj, verbose = FALSE) %>% RunPCA()
报错:Error: useNames = NA is defunct. Instead, specify either useNames = TRUE or useNames = FALSE