Skip to content
New issue

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

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

Already on GitHub? # to your account

Error calling estimateExpressionShiftMagnitudes function with Seurat object #49

Open
mkazanov opened this issue Jan 4, 2024 · 2 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.

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

No branches or pull requests

3 participants