satijalab / seurat-object

https://satijalab.github.io/seurat-object/
Other
24 stars 25 forks source link

Merge multiple v5 objects into one without splitting layers for counts #197

Closed aditisk closed 7 months ago

aditisk commented 7 months ago

Hi,

I am having some trouble in merging individual v5 objects into a single one using merge() using Seurat v 5.0.1. The merged object gets created but I have multiple layers for counts (counts.1, counts.2, counts.3 etc) which is causing trouble in downstream analyses. Is there a way to avoid this from happening and have just a single counts layer for my merged object? Thanks.

aditisk commented 7 months ago

Sorry, didn't mean to post this in the seurat-object repo. Reinstalling the packages and using JoinLayers() solved this issue for anyone else having the same problem.