FeatureDimPlot(
+ srt = obj, features = c("EPCAM", "KRT19", "PROM1", "ALDH1A1", "CD24"),
+ reduction = "UMAP", theme_use = "theme_blank"
+ )
Error in h(simpleError(msg, call)) :
error in evaluating the argument 'x' in selecting a method for function 't': error in evaluating the argument 'x' in selecting a method for function 'as.matrix': no slot of name "data" for this object of class "Assay5"
由于SCP Seurat V5 支持不好,我们把V5的seurat文件的“RNA”改成以前版本的Assay,然后修改默认Assay为转换后的,这也不影响原来的,要用回原来的可以直接再修改一次默认Assay就好。
obj[["RNA4"]] <- as(object = obj[["RNA"]], Class = "Assay")
DefaultAssay(obj) <- "RNA4"
如果觉得我的文章对您有用,请随意打赏。你的支持将鼓励我继续创作!