Data integration single cell using Harmony
1
0
Entering edit mode
1 day ago
_deb • 0

Dear all,

I have six samples from a 10x experiment: three under control conditions and three subjected to a treatment. I am performing QC preprocessing on each sample separately. Now, I want to integrate the samples using Harmony before proceeding with downstream analyses. My question is: Is it better to run the RunHarmony() function on all preprocessed and merged control samples, then do the same for the preprocessed treated samples, and finally merge the two resulting integrated objects? Or should I first merge all six preprocessed samples into a single Seurat object and then run RunHarmony once on the combined dataset? Any suggestions on which way is better? Those are very large files...

singlecell 10x Harmony dataIntegration • 259 views
ADD COMMENT
0
Entering edit mode

Harmony can integrate over multiple covariates, allowing you to provide both control/treatment and batch information, and run it once. Running Harmony separately will result in incompatible embeddings.

https://portals.broadinstitute.org/harmony/articles/quickstart.html#harmony-with-two-or-more-covariates

ADD REPLY
0
Entering edit mode

Thank you for the quick answer.

I still have a doubt. It would be better to pre-process each sample separately (filtering, SCTransform, RunPCA, RunUMAP, FindNeighbors, FindClusters) and then merge them to run Harmony? I'm trying to follow this GitHub (https://github.com/kygithubtokenaccount/Adult-Eye-scRNA-seq-R-codes/blob/main/4_Harmony_code.R ), but I have many more samples to be merged (not just 2 as reported there), and thus I'm getting confused.

Thank you for your help!!

ADD REPLY
0
Entering edit mode

Run QC for each sample separately, then merge run SCTransform, PCA, then Harmony, UMAP, FindNeighbors and FindClusters.

ADD REPLY
0
Entering edit mode
1 day ago

Harmony requires PCA reduction as an input so you should merge your data and carry out PCA reduction as a minimum. If you're using Seurat v5 it will now normalise each individual layer separately until you run JoinLayers() after getting a good integrated reduction from Harmony or another method like RPCA, sciVI etc

ADD COMMENT

Login before adding your answer.

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