zhanghao-njmu / SCP

An end-to-end Single-Cell Pipeline designed to facilitate comprehensive analysis and exploration of single-cell data.

Home Page:https://zhanghao-njmu.github.io/SCP/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error:SCP::RunCellQC(srt = pancreas_sub)

Crorazon opened this issue · comments

May I ask how to solve this problem?

data("pancreas_sub")

pancreas_sub <- RunCellQC(srt = pancreas_sub)
function 'as_cholmod_sparse' not provided by package 'Matrix'Error in srt[[paste0("db.", dbm, "_class"), drop = TRUE]]:
! ‘db.scDblFinder_class’ not found in this Seurat object

Backtrace:

  1. SCP::RunCellQC(srt = pancreas_sub)
  2. SeuratObject:::[[.Seurat(srt, paste0("db.", dbm, "_class"), drop = TRUE)

Hi @Crorazon, I also encountered the same problem after updating the version of seurat. I would like to ask what is your version of seurat?

According
#bwlewis/irlba#70

install.packages("Matrix", type = "source")
install.packages("irlba", type = "source")

works well for me.