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 apply(rownorm, 2, max) : dim(X) must have a positive length #25

Open
JoshW-L opened this issue Feb 26, 2025 · 1 comment
Open

Comments

@JoshW-L
Copy link

JoshW-L commented Feb 26, 2025

Hi,

I am using my own seurat objects and when I run getMetaPrograms I get this error:

geneNMF.metaprograms_1k <- getMetaPrograms(geneNMF.programs_1k,
+                                         metric = "cosine",
+                                         weight.explained = 0.5,
+                                         nMP=10)
Error in apply(rownorm, 2, max) : dim(X) must have a positive length

When I try with the test data it works and I can't identify what the differences are between my object and that of the test. Any help would be great

@mass-a
Copy link
Member

mass-a commented Feb 28, 2025

Hello,
any chance you could send your seurat object, so I can try to reproduce the error?
Best
-m

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