Subsetting and merging back Seurat Object brings different results
0
0
Entering edit mode
6 months ago
Bine ▴ 90

Good morning,

I wonder if anyone can answer this question: If I subset my Seurat object into celltype A and celltype B and then I merge it back together I see some differences in the counts@p. Why is this the case?

Please find below some pictures attached for illustration:

Before subsetting: image

After subsetting into celltypes A (Macrophages) and Celltype B (all other cells):

Celltype A (Macrophages) :

image

Celltype B (all other cells):

image

Newly merged object:

image

The UMAP cluster seem to look as before however in slightly different positions.

However, comparing the counts I can see a difference:

Before:

image

After:

image

I had to re-run FindVariableFeatures, ScaleData, RunPCA, FindNeighbors, FindClusters and RunUMAP in the newly merged object since all reductions, commands were gone. However, I repeated the commands exactly in the way as before.

Any idea what is causing this difference? Thank you for any hint!

Seurat • 435 views
ADD COMMENT
0
Entering edit mode

Ok I think I know what happened. The order of cells changed, otherwise its the same:

image

image

Could that be the explanation?

ADD REPLY

Login before adding your answer.

Traffic: 2376 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6