# Anchor-based integration methods

**URL:** <https://discourse.scverse.org/t/anchor-based-integration-methods/3743>\
**Category:** Help\
**Tags:** integration\
**Created:** [August 1, 2025, 6:07pm UTC](https://discourse.scverse.org/t/anchor-based-integration-methods/3743 "2025-08-01T18:07:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![diop89890](https://avatars.discourse-cdn.com/v4/letter/d/258eb7/32.png) [@diop89890](https://discourse.scverse.org/u/diop89890)\
**Post date:** [August 1, 2025, 6:07pm UTC](https://discourse.scverse.org/t/anchor-based-integration-methods/3743/1 "2025-08-01T18:07:46Z")

</div>

Hi.

I am working with flow cytometry data. I have two batches of PBMC samples with the exact same panel, 25 proteins.

I have a ML model for cell type prediction on one batch (=anchor) and trying to apply it to another batch (=query). They have slightly different coordinates, meaning distributions are shifted in the majority of channels. My idea is to use an anchor method and integrate the query into the anchor batch without changing its coordinates. This integration should change raw values of the query only.

Below, is the result I would like to see, but without changing anchor’s values (blue cohort):

 ![Screenshot 2025-08-01 at 2.05.34 PM](https://canada1.discourse-cdn.com/flex035/uploads/forum11/original/2X/f/f23cc21601715cabcb4f6bdcd11f6cbdfc847f21.jpeg)

I have tried FindIntegrationAnchors, CCA, from Seurat, it works not ideally, and it’s slow, i.e. anchor is 100k cells, query is 100k cells, 128 GB RAM was running for about an hour.

I tried to use MNNpy, but couldn’t install it on new macos (15.5). I will try it on a different machine soon.

Am I missing something? Are there other tools?

Thank you,

Emir.

---

<div class="post-metadata">

**Author:** ![ori-kron-wis](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.scverse.org/ori-kron-wis/32/1099_2.png) [@ori-kron-wis](https://discourse.scverse.org/u/ori-kron-wis)\
**Post date:** [September 25, 2025, 12:49pm UTC](https://discourse.scverse.org/t/anchor-based-integration-methods/3743/2 "2025-09-25T12:49:40Z")

</div>

Hello,

Please check out our new CytoVI model in scvi-tools, which might help with your integration.

It might not have scArches out of the box, and need to implement it. If so, let me know.

See:

> **[Quick start tutorial for CytoVI](https://docs.scvi-tools.org/en/latest/tutorials/notebooks/cytometry/CytoVI_batch_correction_tutorial.html)**
>
> In this tutorial, we go through the steps of training CytoVI, a deep generative model that leverages antibody-based single-cell profiles to learn a biologically meaningful latent representation of ...

> **[Advanced Tutorial: Multi-Panel Integration and Downstream Analysis with CytoVI](https://docs.scvi-tools.org/en/latest/tutorials/notebooks/cytometry/CytoVI_advanced_tutorial.html)**
>
> In this tutorial, we demonstrate advanced functionality of CytoVI, a deep generative model for protein expression measurements from technologies such as flow cytometry, mass cytometry, or CITE-seq....
