Seurat-Merging and integrate
2
3
Entering edit mode
3.1 years ago
francesca3 ▴ 150

Hi everyone. I have one question. I already read about the difference between merging and integrate function in Seurat, but I want some advice about my specific case. I have samples from two different patients and for each one I have the control and the "treated". Like this

                            Control          Treatment 
        Patient A           1Ac              1At 
        Patient B           1Bc              1Bt

The "treated" sample is represented by a subpopulation of the control one, since the only difference with the control is that the cells have been selected for a marker expressed just by a fraction of the total population. 1)I started analyzing the two patients independently, just looking at the clustering of the treated with respect to the own control. In this case, to combine the two samples (1Ac vs 1At ; 1Bc vs 1Bt) I used the function "merge". The clustering was pretty good for both the patients.

2)I moved on looking at the controls from the two patients to check if the samples were similar or not (1Ac vs 1Bc). I used "merged" but the two patients clustered in a separate way apparently not having nothing in common. At this point, I discovered about the "integrating function", that seems to be more appropriate when you are dealing with differences that could be due to natural patient variability. I applied it and the clustering was much more better even if I could still see differences between the two patients in the distribution among the clusters.

My question is: do I have to apply the "integrate" function instead of "merge" also when I study each patient independently (1Ac vs 1At ; 1Bc vs 1Bt) if I decide to present all these data together? Is it accepted to have a different way of combining the datasets according to the analysis level? Of course the clustering changes a bit but I don't think it is necessary to apply a sort of intra-patient batch correction (at least looking at the UMAP).

Sorry for the long post, but I'm just starting to approach single cell analysis and I have a lot to learn.

Thanks

Francesca

single-cell seurat • 5.4k views
ADD COMMENT
3
Entering edit mode
3.1 years ago
fracarb8 ★ 1.7k

I personally always (and only) integrate the samples. Probably, I have never used merge in production. The main reason being that no matter the experiment design there is always some degree of variability between your samples (different technologies, different donors, different disease, different sex, different age,...) and the integration gives you more control on how you deal with it.

If you want to avoid running the integration if you don't need to (limited time or computational resources), a possible approach would be:

  1. merge the datasets
  2. re-cluster
  3. check for any batch effect between the two source.

If your cells are not clustering based on any plausible confounder (sex, experiment, age, patient,...), then merge was enough, otherwise you should integrate your datasets.

I suggest you to look at the seurat repository on git, as this topic as been asked multiple times.

ADD COMMENT
0
Entering edit mode

Thanks. I started with merge because I was following the pipeline I saw in a paper, but it makes sense what you are talking about. I absolutely agree with you about integrating different donors, but in the case of cells deriving from the same patient in which the only difference is a selection using a markers expressed by just a part of the original population, I thought that the "integrate" function could "over correct". But I will try and check how much the results differ. Thanks.

ADD REPLY
2
Entering edit mode
3.0 years ago
Igor ▴ 50

My workflow looks like this:

  1. Merge samples into one Seurat object
  2. Make QC plots, split by sample. Merged object allows to easily examine different features on one plot
  3. Filter cells and genes, depending on batch structure (see below).
  4. Split merged object into samples again
  5. Integrate
  6. UMAP, clustering, etc.

but I don't think it is necessary to apply a sort of intra-patient batch correction (at least looking at the UMAP)

Were the cells sorted on the same date, with the same instrument? Did sequencing happen on the same day? What I'm trying to say is, are you sure there's zero batch effects between samples? How can you tell the biological and technical differences apart? As for making this decision by only looking at UMAP, I'm not sure it's a good idea. For example, suppose you see two cell populations that are somewhat close, but don't exactly overlap. Do you think these represent technical differences between the samples, or are bona fide cell types that happen to be differentially abundant?

That being said, I don't know how good the integration works with just the two samples.

ADD COMMENT

Login before adding your answer.

Traffic: 1801 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