Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error with RunCellQC with seuratV5 object #252

Open
Kiliankleemann opened this issue Aug 1, 2024 · 3 comments
Open

Error with RunCellQC with seuratV5 object #252

Kiliankleemann opened this issue Aug 1, 2024 · 3 comments

Comments

@Kiliankleemann
Copy link

I get the following error:
Error in RunCellQC(srt = dataset) :
The db_rate is equal to or greater than 1!

My seurat object:
Assay (v5) data with 20167 features for 109037 cells
Top 10 variable features:
S100a9, S100a8, Plp1, Ngp, Retnlg, Camp, Lcn2, Gzma, Ltf, Ccl5
Layers:
data, counts, scale.data

@YongjieWangSarcoma
Copy link

You can add a new assay without layer.

提取现有RNA assay中的counts数据

counts_data <- LayerData(object = obj, assay = "RNA", layer = "counts")

创建一个新的Assay对象

new_assay <- CreateAssayObject(counts = counts_data)

将新的Assay对象添加到Seurat对象中并命名为RNA1

obj[["RNA1"]] <- new_assay

检查Seurat对象中的assays

print(Assays(obj))

obj <- RunCellQC(srt = obj,assay = "RNA1")

It will work.

@Kiliankleemann
Copy link
Author

Xie Xie!

@mengxu98
Copy link

mengxu98 commented Sep 4, 2024

目前SCP还不支持seurat v5对象,可以参考#236对Seurat包进行降级。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants