# Performing seurat-style data integration on data analysed using scanpy?

**URL:** <https://discourse.scverse.org/t/performing-seurat-style-data-integration-on-data-analysed-using-scanpy/524>\
**Category:** scanpy\
**Created:** [June 7, 2022, 9:36am UTC](https://discourse.scverse.org/t/performing-seurat-style-data-integration-on-data-analysed-using-scanpy/524 "2022-06-07T09:36:14Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![ivirshup](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.scverse.org/ivirshup/32/160_2.png) [@ivirshup](https://discourse.scverse.org/u/ivirshup)\
**Post date:** [June 8, 2022, 3:42pm UTC](https://discourse.scverse.org/t/performing-seurat-style-data-integration-on-data-analysed-using-scanpy/524/4 "2022-06-08T15:42:22Z")

</div>

I think this question is a bit different, since it’s not about accounting for batch effects in the data. I’ve addressed this in your other post here:

> [@How to add additional metadata on multiple different single cell RNA files from different experiments, such as organ, sample number etc](https://discourse.scverse.org/t/how-to-add-additional-metadata-on-multiple-different-single-cell-rna-files-from-different-experiments-such-as-organ-sample-number-etc/533/2):
>
> Hey @Echoo-ranger, Could you add this information as columns of the obs dataframe before concatenation? If there is only one condition per cell ranger output, you could also add this information during concatenation with the label argument. Then the code should probably look something like: import scanpy as sc import anndata as ad # Read in each experiment experiment\_dirs = ["organ1", "organ2", ...] experiment\_adatas = { expr\_name: sc.read\_10x\_h5(f"path/to/{expr\_name}/outs/filtered\_featur…

---

_[View the full topic](https://discourse.scverse.org/t/performing-seurat-style-data-integration-on-data-analysed-using-scanpy/524)._
