SCTransform ,Error: useNames = NA is defunct

SCTransform在seuratv4的时候没问题,升级到v5的时候不工作,出现报错 > brain <- SCTransform(rep, assay = "Spatial", verbose = TRUE)Running SCTransform on assay: SpatialRunning SC...

SCTransform在seuratv4的时候没问题,升级到v5的时候不工作,出现报错

> brain <- SCTransform(rep, assay = "Spatial", verbose = TRUE)
Running SCTransform on assay: Spatial
Running SCTransform on layer: counts
vst.flavor='v2' set. Using model with fixed slope and excluding poisson genes.
Variance stabilizing transformation of count matrix of size 20445 by 2713
Model formula is y ~ log_umi
Get Negative Binomial regression parameters per gene
Using 2000 genes, 2713 cells
Error: useNames = NA is defunct. Instead, specify either useNames = TRUE or useNames = FALSE.


应该是兼容问题, 作者建议更新glmGamPoi,但是依赖也多


所以偷懒一点直接降级matrixStats就可以




remotes::install_version("matrixStats", version = "1.1.0")


在就可以执行了

  • 发表于 2024-07-25 15:37
  • 阅读 ( 351 )

你可能感兴趣的文章

相关问题

0 条评论

请先 登录 后评论
xun
xun

电路元件工程师

76 篇文章

作家榜 »

  1. omicsgene 691 文章
  2. 安生水 340 文章
  3. Daitoue 167 文章
  4. 生物女学霸 120 文章
  5. 红橙子 78 文章
  6. xun 76 文章
  7. rzx 74 文章
  8. CORNERSTONE 72 文章