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 PlotRelativeExpression functions #66

Open
hkarakurt8742 opened this issue Sep 16, 2023 · 1 comment
Open

Error in PlotRelativeExpression functions #66

hkarakurt8742 opened this issue Sep 16, 2023 · 1 comment

Comments

@hkarakurt8742
Copy link

Hello everyone,
I am using Sierra and I keep getting this error for all PlotRelativeExpression functions (TSNE, UMAP, Box).

error in apply(expression.set, 1, function(x) { : dim(x) must have a positive length

I checked my Sierra object and everything looks okay. I completed the DUTest without any problem. I also converted my counts in Sierra Object via as.matrix() function but nothing changed.

What might be the problem?

Thank you in advance.

@rj-patrick
Copy link
Contributor

Hi @hkarakurt8742,

Sorry for the slow response. Could you check the active Idents in your Seurat object? This is what Sierra relies on to generate the relative expression and I suspect the most likely cause of that error message is a problem with subsetting the data by cell cluster/class identity.

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