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 when merging objects #218

Open
asta-a-t opened this issue Aug 28, 2024 · 0 comments
Open

Error when merging objects #218

asta-a-t opened this issue Aug 28, 2024 · 0 comments

Comments

@asta-a-t
Copy link

Hi all,

I'm having some issues with what I thought would be a relatively simple step of combining objects. I have gone through the "Introduction to scRNA-seq integration" article but have not been successful. The two objects I'm merging are from two different experiments, but of the same tissues. The initial pipeline has been the exact same, except for a step for subsetting for only one of the datasets. I've added the code and the error below, but note I have tried with and without "project = "neurons", merge.data = TRUE", and I get the same error.

I'd appreciate any help! Thank you.

neurons.combined <- merge(merged_obj1_integrated, y = merged_obj2_integrated_neuronsubset, add.cells.id = c("Batch1", "Batch2"), project = "neurons", merge.data = TRUE)
Warning: The following arguments are not used: add.cells.id
Warning: Some cell names are duplicated across objects provided. Renaming to enforce unique cell names.
Error in rbind(new_residual, old_residuals) :
number of columns of matrices must match (see arg 2)

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

1 participant