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 in UseMethod("runINMF", object) : no applicable method for 'runINMF' applied to an object of class "list" #325

Open
wang0430 opened this issue Dec 25, 2024 · 1 comment

Comments

@wang0430
Copy link

Hello, I encountered this error in the analysis, can you help to see how to solve it

sample = RunOptimizeALS(sample, k = 30, lambda = 5, split.by = "orig.ident")
Error in UseMethod("runINMF", object) :
no applicable method for 'runINMF' applied to an object of class "list"
class(sample)
[1] "Seurat"
attr(,"package")
[1] "SeuratObject"

@mvfki
Copy link
Collaborator

mvfki commented Dec 25, 2024

Hi,

Thanks for using LIGER. It seems like you are using the SeuratWrapper package, which is out of date in this part. We had a major update in our package earlier this year which is not compatible with the old implementation.

To apply LIGER methods on a Seurat object, please refer to our specific documentation article at https://welch-lab.github.io/liger/articles/liger_with_seurat.html

We will deprecate the wrappers for LIGER in the SeuratWrapper package in the near future.

Merry Christmas,
Yichen

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