wu-yc / scMetabolism

Quantifying metabolism activity at the single-cell resolution
BSD 3-Clause "New" or "Revised" License
115 stars 46 forks source link

关于seurat计算的问题 #42

Open TATABOX99 opened 5 days ago

TATABOX99 commented 5 days ago

作者您好,你的seurat计算部分使用的:sc.metabolism.Seurat <- function(obj, method = "VISION", imputation = F, ncores = 2, metabolism.type = "KEGG") {

countexp<-obj@assays$RNA@count

在seurat5.0中不可用了,此外考虑到批次效应,是否可以尝试改成:sc.metabolism.Seurat <- function(obj, method = "VISION", imputation = F, ncores = 2, metabolism.type = "KEGG") {

countexp<-obj@assays$RNA$data