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 of addGeneIntegrationMatrix : <simpleError in dimnames(x) <- dn: length of 'dimnames' [1] not equal to array extent> #2069

Open
XiaoKaixuan12333 opened this issue Dec 1, 2023 · 5 comments
Labels
bug Something isn't working

Comments

@XiaoKaixuan12333
Copy link

ArchR-addGeneIntegrationMatrix-171f8742a45cc6-Date-2023-12-01_Time-16-51-22.log
This is an issue template made by the developers of ArchR. You MUST follow these instructions.

HI, when i use addGeneIntegrationMatrix , i meet the question of <simpleError in dimnames(x) <- dn: length of 'dimnames' [1] not equal to array extent> ,i have been used other method mentioned like set the defaultassay of seurat object, but it is not work. so i would like to know how to fix it.

@XiaoKaixuan12333 XiaoKaixuan12333 added the bug Something isn't working label Dec 1, 2023
@rcorces
Copy link
Collaborator

rcorces commented Dec 1, 2023

Hi @XiaoKaixuan12333! Thanks for using ArchR! Please make sure that your post belongs in the Issues section. Only bugs and error reports belong in the Issues section. Usage questions and feature requests should be posted in the Discussions section, not in Issues.

It is worth noting that there are very few actual bugs in ArchR. If you are getting an error, it is probably something specific to your dataset, usage, or computational environment, all of which are extremely challenging to troubleshoot. As such, we require reproducible examples (preferably using the tutorial dataset) from users who want assistance. If you cannot reproduce your error, we will not be able to help.
Before going through the work of making a reproducible example, search the previous Issues, Discussions, function definitions, or the ArchR manual and you will likely find the answers you are looking for.
If your post does not contain a reproducible example, it is unlikely to receive a response.

__In addition to a reproducible example, you must do the following things before we help you, unless your original post already contained this information:
1. If you've encountered an error, have you already searched previous Issues to make sure that this hasn't already been solved?
2. Did you post your log file? If not, add it now.
3. Remove any screenshots that contain text and instead copy and paste the text using markdown's codeblock syntax (three consecutive backticks). You can do this by editing your original post.

@igunduz
Copy link

igunduz commented Jan 3, 2024

Hello @XiaoKaixuan12333, I keep receiving the same error. Have you been able to solve this?

@igunduz
Copy link

igunduz commented Jan 10, 2024

Hello again @rcorces @XiaoKaixuan12333 ,

The issue is due to Seurat's RunCCA function, by updating Seurat V5 I was able to fix the problem

@BartBryant
Copy link

Hello @igunduz , I also initially had the 'dn: length of 'dimnames' error
I then updated to Seurat v5 and now get
Warning: Data is of class dgeMatrix. Coercing to dgCMatrix.
Error in slot(object = object, name = "features")[[layer]] <- features :
more elements supplied than there are to replace

Screenshot 2024-02-20 at 3 08 01 PM

Any thoughts?

@igunduz
Copy link

igunduz commented Feb 22, 2024

Hello @igunduz , I also initially had the 'dn: length of 'dimnames' error I then updated to Seurat v5 and now get Warning: Data is of class dgeMatrix. Coercing to dgCMatrix. Error in slot(object = object, name = "features")[[layer]] <- features : more elements supplied than there are to replace

Screenshot 2024-02-20 at 3 08 01 PM Any thoughts?

Hello,
I also received the same error and, testIntegration function from here solved the problem for me

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