I have integrated two scRNA-seq datasets using harmony method. Unlike Seurat integration, Harmony just adds extra embeddings for further clustering and other analysis. However, the data (raw counts, normalized, and scaled slots) is the same as in unintegrated data. So, when I transfer the normalized counts to scanpy for other analysis (ikarus) obviously the data behaves as unintegrated. Is there any way to recompute normalized counts using harmony embeddings so the data becomes transferable to scanpy as an integrated dataset?
Hi, I am not sure if you still remmeber the solution you followed that time. But I am stuck with similar problem. scVI is not working good fro my data and if i integrate and batch correct using harmony it shows good integration on umap in R but when I transfer data to python adata umap shows batch effects and unintegrated like data. Wondering what you did to export Harmony integration properly.
As you well noticed, harmony creates an embedding, it does not generate integrated normalized counts. If you need that, I suggest you use scVI, which does that very well. In integration benchmarks, scVI generally performed better. Here's a simple example. Make sure you have the "batch" observation, which marks the cells from each dataset.
Hi, I am not sure if you still remmeber the solution you followed that time. But I am stuck with similar problem. scVI is not working good fro my data and if i integrate and batch correct using harmony it shows good integration on umap in R but when I transfer data to python adata umap shows batch effects and unintegrated like data. Wondering what you did to export Harmony integration properly.
Thanks