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

Improved_Seurat_Preprocessed() in DoubletDecon gives error #56

Open
karthikavarmar opened this issue Dec 20, 2023 · 1 comment
Open

Comments

@karthikavarmar
Copy link

karthikavarmar commented Dec 20, 2023

I've a SeuratObject Leaf_frozen and I'm using this data into DoubletDecon's Improved_Seurat_Pre_Process() as shown below-

Leaf_processed <- Improved_Seurat_Pre_Process(Leaf_frozen, num_genes=50, write_files=FALSE)

which throws output and error -

Validating object structure
Updating object slots
Ensuring keys are in the proper structure
Ensuring keys are in the proper structure
Ensuring feature names don't have underscores or pipes
Updating slots in RNA
Validating object structure for Assay5 ‘RNA’
Object representation is consistent with the most current Seurat version
Error in as.data.frame(seuratObject@assays[["RNA"]]@CountS) :
no slot of name "counts" for this object of class "Assay5"

This link shows detailed information on the said issue raised before if needed - satijalab/seurat#8210

@EDePasquale Please suggest a solution soon.

@qslin
Copy link

qslin commented Apr 10, 2024

Having this issue too. Changing seuratObject@assays[["RNA"]]@counts) to GetAssayData(seuratObject, assay = "RNA", layer = "counts") should solve the problem.

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

2 participants