SCTransform prior or after merging samples into one object?
0
0
Entering edit mode
3.6 years ago
annadv • 0

Hello All,

I have 3 samples, sequenced with scRNAseq technology (10x Genomics). Each sample represents a different experimental group. I am using Seurat package for the analysis and I am wondering whether I am supposed to first perform SCTransform on each of them separately and then merge them, or am I supposed to merge them and then to perform SCTransform on the merged object?

Thank you very much for your help.

Regards, Anna

Seurat scRNAseq merging samples • 7.4k views
ADD COMMENT
0
Entering edit mode

I would say that depends on the analysis goal. Can you explain what you plan to do with the data? Are these samples biological replicates? Are they similar or very different from each other?

ADD REPLY
0
Entering edit mode

Thank you for your reply!

These samples are not biological replicates - each sample is RNA collected (pooled) from a different treatment group from the same experiment, and we are planning to define various cell populations and compare gene expression across these groups within different cell populations.

ADD REPLY
0
Entering edit mode

Sorry I do not understand. What do you mean by pooled?

ADD REPLY
0
Entering edit mode

From what I know about these samples - each sample contains cells from several animals.

ADD REPLY
0
Entering edit mode

Can you list what Seurat objects you have now, and what is in those objects? That might make it easier to understand the experimental setup.

ADD REPLY
0
Entering edit mode

I have 3 h5 files:

  1. group1_filtered_feature_bc_matrix.h5,
  2. group2_filtered_feature_bc_matrix.h5,
  3. group3_filtered_feature_bc_matrix.h5

Originally I was planning the following steps:

  1. create an object from each of them separately with CreateSeuratObject,
  2. merge the 3 objects with "merge" function,
  3. either perform Normalization and Scaling as separate steps or perform SCTransform on the resulted object containing the group1, group2 and group3.

My question was whether I should perform the following steps instead:

  1. create an object from each of the h5 files separately
  2. run either Normalization+Scaling or SCTransform on each of the objects separately
  3. merge the 3 objects into 1 object.

However, I found that I based on the study design, I should do integration instead of merging. Can you, please, let me know if this is the right way to work with my data?

The steps I have found are as following:

  1. Normalize each of the Seurat objects separately
  2. Find variable features in each of the objects
  3. Find integration anchors across these 3 objects
  4. Integrate the 3 objects using integration anchors with IntegrateData
  5. Perform scaling (ScaleData) on the integrated data
  6. Run PCA etc on the integrated data.

Regards, Anna

ADD REPLY
1
Entering edit mode

Alright, I understand now. You should do SCTransform with each one separately, and then use integration to combine the separate objects. You can find more information in the 'SCTransform' tab of their integration vignettes.

ADD REPLY
0
Entering edit mode

Thank you very much!

I have a question regarding the integration: based on the description at Satijalab website, the integration based on the "anchors" found between pairs of the datasets being integrated. The authors state that "these represent pairwise correspondences between individual cells (one in each dataset), that we hypothesize originate from the same biological state." Then the authors proceed to show an example describing integration of several datasets containing the same types of cells, but obtained using different sequencing technologies. However, in my case each of the objects represents a different treatment group, so the assumption of the same biological state is incorrect, as far as I understand. Does this mean that I still should integrate the objects using the integration workflow based on these anchors?

Thank you very much!

ADD REPLY
0
Entering edit mode

Hi @annadv. Were you able to find out answer to this? People have been asking this question for a while now with no clear cut recommendations. I also raised a similar query here but still waiting for an answer. What did you end up doing eventually?

ADD REPLY

Login before adding your answer.

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