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 calling estimateExpressionShiftMagnitudes function with Seurat object #49

Open
mkazanov opened this issue Jan 4, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@mkazanov
Copy link

mkazanov commented Jan 4, 2024

Hi, I am trying to use cacoa with Seurat object and to follow vignettes.
Code below failed on estimateExpressionShiftMagnitudes function with the following error message:

Error in FUN(X[[i]], ...) : 
  no slot of name "counts" for this object of class "Assay5"
cao <- Cacoa$new(so, sample.groups=sample.groups, cell.groups=cell.groups, sample.per.cell=sample.per.cell, 
                 ref.level="control", target.level="case")

cao$estimateCellLoadings()
cao$estimateExpressionShiftMagnitudes()
@rrydbirk
Copy link
Collaborator

rrydbirk commented Mar 4, 2024

Hi @mkazanov

Sorry for the late reply. I assume you're using Seurat5. I know that the new version created a lot of issues with other packages. We didn't test Cacoa on the new version yet, but we'll add it to our to-do.

/Rasmus

@rrydbirk rrydbirk added the bug Something isn't working label Mar 4, 2024
@chilampoon
Copy link

hi I encountered the same issues and this is my quick workaround #53 (comment). it works properly in my end.

@luostrowski
Copy link

Hi! Are there any updates on this? I'm having the same problem with Seurat v5.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants