Question: How can you merge more than two 10x datasets in Seurat?
0
gravatar for DrAcula
18 months ago by
DrAcula40
University of Miami
DrAcula40 wrote:

I am trying to merge 3 datsets in seurat. I use the vignette on the seura website to merge 2 datasets however when I merge the 3rd t seems like the metadata isnt saved, however the head and tail of the data seem that its all being merged.

scrnaseq rna-seq 10x • 1.5k views
ADD COMMENTlink modified 18 months ago by Charles Warden7.9k • written 18 months ago by DrAcula40

when I merge the 3rd t seems like the metadata isnt saved

I'm not sure I completely understand what's going on -- could you perhaps post the results of str() on the individual files as well as the merged files and keep the commands you run in between as well?

ADD REPLYlink written 18 months ago by Friederike6.2k
1
gravatar for Charles Warden
18 months ago by
Charles Warden7.9k
Duarte, CA
Charles Warden7.9k wrote:

It's been a little while since I worked with a 10X dataset (I think they have a newer version of Seurat and cellranger).

However, when I needed to look at more than 2 datasets, I used the aggr function from cellranger.

Please note that you need to add --normalize=none to get counts similar to the separate quantifications (at least with the version of cellranger that I used).

So, I think the command should look something like this:

/path/to/cellranger-2.1.1/cellranger aggr --normalize=none --id=$AGGR_NAME --csv=$SAMPLE_FILE --localcores=12 --localmem=48

Again, I apologize if this is not exactly the right solution in the latest version of cellranger (or if Seurat has added functionality to accomplish this equally well).

ADD COMMENTlink written 18 months ago by Charles Warden7.9k
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 821 users visited in the last hour