GLUE icon indicating copy to clipboard operation
GLUE copied to clipboard

question for cell embedding with multiomics data

Open Dragonlongzhilin opened this issue 1 year ago • 1 comments

Thanks for developing a nice tool! I used glue to integrate scRNA-seq and scATAC-seq datasets from multiple samples. I want to get clustering results covering both modalities in the umap plot. What can I do to get this information? Can I do clustering on embedding space? Can I come up with batch-corrected data for clustering?

Dragonlongzhilin avatar Sep 28 '22 08:09 Dragonlongzhilin

Thanks for your interest in GLUE! Yes you can use the cell embeddings for clustering. E.g., in scanpy the following should do:

combined = ad.concat([rna, atac])
sc.pp.neighbors(combined, use_rep="X_glue")
sc.tl.leiden(combined)

For batch correction you can specify the batch covariate via use_batch in configure_dataset.

Let me know if there were other issues!

Jeff1995 avatar Sep 28 '22 12:09 Jeff1995