# \#totalvi

**URL:** https://discourse.scverse.org/tag/totalvi/17.md

[Latest](https://discourse.scverse.org/latest.md) · [Categories](https://discourse.scverse.org/categories.md) · [Tags](https://discourse.scverse.org/tags.md)

---

## [How to use totalVI denoised protein measurements](https://discourse.scverse.org/t/how-to-use-totalvi-denoised-protein-measurements/3850)

<div class="topic-metadata">

**Author:** [@Zoe](https://discourse.scverse.org/u/Zoe)\
**Replies:** 1\
**Last updated:** [November 9, 2025, 12:58pm UTC](https://discourse.scverse.org/t/how-to-use-totalvi-denoised-protein-measurements/3850 "2025-11-09T12:58:56Z")

</div>

Hi! I have a sort of theoretical question about the totalVI denoised protein measurements. From the paper, it seems like for the RNA modality, there is a specific library size-based scaling factor, but it doesn’t seem li…

---

## [Question about get\_normalized\_expression computation](https://discourse.scverse.org/t/question-about-get-normalized-expression-computation/3842)

<div class="topic-metadata">

**Author:** [@racng](https://discourse.scverse.org/u/racng)\
**Replies:** 3\
**Last updated:** [November 5, 2025, 8:14am UTC](https://discourse.scverse.org/t/question-about-get-normalized-expression-computation/3842 "2025-11-05T08:14:27Z")

</div>

I have trained a TOTALVI model and I am using the get\_normalized\_expression function to get imputed values for one gene and one protein. It is using mostly CPUs (128 threads) and not the GPU (Volatile GPU-Util = 8%, 2391…

---

## [Discrepancy between raw mean/non-zero proportion and LFC with model.differential\_expression](https://discourse.scverse.org/t/discrepancy-between-raw-mean-non-zero-proportion-and-lfc-with-model-differential-expression/3674)

<div class="topic-metadata">

**Author:** [@easyeryiji](https://discourse.scverse.org/u/easyeryiji)\
**Replies:** 2\
**Last updated:** [July 10, 2025, 12:10pm UTC](https://discourse.scverse.org/t/discrepancy-between-raw-mean-non-zero-proportion-and-lfc-with-model-differential-expression/3674 "2025-07-10T12:10:37Z")

</div>

Dear totalVI community, I’m encountering a puzzling issue while analyzing my Spatial CITE\_seq data (P\_CD8) with totalVI, and I hope someone can help me interpret the results. Here’s the key data for the gene/protein of …

---

## [Workflow advice for totalVI in CITE-seq Multiplexed data](https://discourse.scverse.org/t/workflow-advice-for-totalvi-in-cite-seq-multiplexed-data/3613)

<div class="topic-metadata">

**Author:** [@eason-sjtu](https://discourse.scverse.org/u/eason-sjtu)\
**Replies:** 3\
**Last updated:** [June 19, 2025, 5:53pm UTC](https://discourse.scverse.org/t/workflow-advice-for-totalvi-in-cite-seq-multiplexed-data/3613 "2025-06-19T17:53:52Z")

</div>

Hi all, I’m working with CITE-seq data where 4 samples were multiplexed, stained with antibodies in a single tube, and then distributed across 4 sequencing lanes. I’d like advice on the optimal analysis workflow. Speci…

---

## [Regressing out isotype controls](https://discourse.scverse.org/t/regressing-out-isotype-controls/346)

<div class="topic-metadata">

**Author:** [@FelixTheStudent](https://discourse.scverse.org/u/FelixTheStudent)\
**Replies:** 4\
**Last updated:** [June 6, 2025, 2:44am UTC](https://discourse.scverse.org/t/regressing-out-isotype-controls/346 "2025-06-06T02:44:54Z")

</div>

Hi scvi-tools team, thanks for the great work so far! I’d like a recommendation on whether to regress out isotype controls or not. Simply excluding them from analysis does not seem sufficient, because \> 10 actual prote…

---

## [Help on MultiVI for data modality](https://discourse.scverse.org/t/help-on-multivi-for-data-modality/2134)

<div class="topic-metadata">

**Author:** [@ksang](https://discourse.scverse.org/u/ksang)\
**Replies:** 1\
**Last updated:** [May 16, 2025, 1:33am UTC](https://discourse.scverse.org/t/help-on-multivi-for-data-modality/2134 "2025-05-16T01:33:04Z")

</div>

In the published manuscript published in Nature Methods, it was demonstrated that MultiVI can be used on multi-omics data that include protein abundance measurements (e.g. CITE-seq). However, the tutorial on scvi-tools o…

---

## [TotalVI not fully integrating CITEseq cells with GEX and missing protein values](https://discourse.scverse.org/t/totalvi-not-fully-integrating-citeseq-cells-with-gex-and-missing-protein-values/3473)

<div class="topic-metadata">

**Author:** [@timslittle](https://discourse.scverse.org/u/timslittle)\
**Replies:** 1\
**Last updated:** [February 6, 2025, 4:38pm UTC](https://discourse.scverse.org/t/totalvi-not-fully-integrating-citeseq-cells-with-gex-and-missing-protein-values/3473 "2025-02-06T16:38:49Z")

</div>

Hi Team, Apologies if I’m doing something wrong here! I have a CITEseq dataset in which some cells have good quality RNAseq values but poor quality ADT, so these ADT values have been removed. I tried using TotalVI to i…

---

## [Impact of batch on TotalVI results](https://discourse.scverse.org/t/impact-of-batch-on-totalvi-results/3404)

<div class="topic-metadata">

**Author:** [@JenniferF](https://discourse.scverse.org/u/JenniferF)\
**Replies:** 1\
**Last updated:** [January 5, 2025, 10:32am UTC](https://discourse.scverse.org/t/impact-of-batch-on-totalvi-results/3404 "2025-01-05T10:32:03Z")

</div>

Good evening, thank you for maintaining TotalVI! We are applying a pre-existing model and classifier built from TotalVI to a new dataset. This new dataset includes samples across several different cancer types, patients,…

---

## [\[suggestion\] what would be the appropriate pipeline to perform joint embedding of GEX and ATAC?](https://discourse.scverse.org/t/suggestion-what-would-be-the-appropriate-pipeline-to-perform-joint-embedding-of-gex-and-atac/3275)

<div class="topic-metadata">

**Author:** [@yojetsharma](https://discourse.scverse.org/u/yojetsharma)\
**Replies:** 1\
**Last updated:** [October 17, 2024, 1:09am UTC](https://discourse.scverse.org/t/suggestion-what-would-be-the-appropriate-pipeline-to-perform-joint-embedding-of-gex-and-atac/3275 "2024-10-17T01:09:33Z")

</div>

I have processed my snRNA of multiome using scanpy and snATAC using snapatac2. Both have been annotated as well. I would like to perform joint embedding of rna and atac but the var attributes are different and so are th…

---

## [N\_samples ( refers to Monte Carlo sampling for each cell) setting in totalVI](https://discourse.scverse.org/t/n-samples-refers-to-monte-carlo-sampling-for-each-cell-setting-in-totalvi/2340)

<div class="topic-metadata">

**Author:** [@qingjiao](https://discourse.scverse.org/u/qingjiao)\
**Replies:** 1\
**Last updated:** [June 28, 2024, 1:22am UTC](https://discourse.scverse.org/t/n-samples-refers-to-monte-carlo-sampling-for-each-cell-setting-in-totalvi/2340 "2024-06-28T01:22:39Z")

</div>

Hi :slight\_smile: I have a question about the n\_samples ( refers to Monte Carlo sampling for each cell) setting in totalVI. In the tutorial ( CITE-seq analysis with totalVI — scvi-tools), n\_samples is set to 25 in get…

---

## [Failing to import SCVI-tools modules: has AnnDatasetFromAnnData been replaced?](https://discourse.scverse.org/t/failing-to-import-scvi-tools-modules-has-anndatasetfromanndata-been-replaced/2359)

<div class="topic-metadata">

**Author:** [@Adam](https://discourse.scverse.org/u/Adam)\
**Replies:** 2\
**Last updated:** [June 27, 2024, 7:10pm UTC](https://discourse.scverse.org/t/failing-to-import-scvi-tools-modules-has-anndatasetfromanndata-been-replaced/2359 "2024-06-27T19:10:15Z")

</div>

Hello! I am attempting to learn how to use totalVI to analyze big CITE seq datasets after reading This paper regarding thymic development. There was an abundance of code provided, and I had hoped to work through it to re…

---

## [Integration of Multiple Multiome Datasets](https://discourse.scverse.org/t/integration-of-multiple-multiome-datasets/1685)

<div class="topic-metadata">

**Author:** [@jjuhh](https://discourse.scverse.org/u/jjuhh)\
**Replies:** 5\
**Last updated:** [March 6, 2024, 9:45pm UTC](https://discourse.scverse.org/t/integration-of-multiple-multiome-datasets/1685 "2024-03-06T21:45:43Z")

</div>

Thank you for developing a bunch of amazing tools in the single-cell field! I encountered an issue related to the integration of multiple multiome datasets. As I understand, totalVI is specialized in CITE-seq(protein +…

---

## [Questions about scib weight choice](https://discourse.scverse.org/t/questions-about-scib-weight-choice/1941)

<div class="topic-metadata">

**Author:** [@HelloWorldLTY](https://discourse.scverse.org/u/HelloWorldLTY)\
**Replies:** 0\
**Last updated:** [December 5, 2023, 4:16am UTC](https://discourse.scverse.org/t/questions-about-scib-weight-choice/1941 "2023-12-05T04:16:37Z")

</div>

Hi, I have a quick question about the setting of the weighted sum in scIB: I understand to assgin S\_bio with 0.6 and S\_batch as 0.4 are to ensure bio convservation is more important. However, I wonder what is the mot…

---

## [Vae\_q.latent\_space\_classifer\_ not found in totalVI CITE-seq reference mapping tutorial](https://discourse.scverse.org/t/vae-q-latent-space-classifer-not-found-in-totalvi-cite-seq-reference-mapping-tutorial/1859)

<div class="topic-metadata">

**Author:** [@JenniferF](https://discourse.scverse.org/u/JenniferF)\
**Replies:** 3\
**Last updated:** [November 20, 2023, 8:59pm UTC](https://discourse.scverse.org/t/vae-q-latent-space-classifer-not-found-in-totalvi-cite-seq-reference-mapping-tutorial/1859 "2023-11-20T20:59:42Z")

</div>

We are following the tutorial located here to create a reference and map cell idents to a query. CITE-seq reference mapping with totalVI — scvi-tools In “Query cell type prediction”, we receive an error that vae\_q does …

---

## [Multi-omics scANVI](https://discourse.scverse.org/t/multi-omics-scanvi/1879)

<div class="topic-metadata">

**Author:** [@racng](https://discourse.scverse.org/u/racng)\
**Replies:** 1\
**Last updated:** [November 14, 2023, 7:24pm UTC](https://discourse.scverse.org/t/multi-omics-scanvi/1879 "2023-11-14T19:24:41Z")

</div>

Is there an extension of the scANVI model that could also model protein data from CITE-seq like totalVI?

---

## [RuntimeWarning: The lr scheduler dict contains the key(s)](https://discourse.scverse.org/t/runtimewarning-the-lr-scheduler-dict-contains-the-key-s/1830)

<div class="topic-metadata">

**Author:** [@amaukisumi](https://discourse.scverse.org/u/amaukisumi)\
**Replies:** 0\
**Last updated:** [October 23, 2023, 1:55pm UTC](https://discourse.scverse.org/t/runtimewarning-the-lr-scheduler-dict-contains-the-key-s/1830 "2023-10-23T13:55:34Z")

</div>

Hello: I recently got the following problem while analyzing CITE-Seq data with TOTALVI: RuntimeWarning: The lr scheduler dict contains the key(s) \['monitor'\], but the keys will be ignored. you need to call lr\_scheduler.…

---

## [How to properly save and load a TotalVI trained model that's based on mudata?](https://discourse.scverse.org/t/how-to-properly-save-and-load-a-totalvi-trained-model-thats-based-on-mudata/1749)

<div class="topic-metadata">

**Author:** [@hmnzo5gy](https://discourse.scverse.org/u/hmnzo5gy)\
**Replies:** 1\
**Last updated:** [September 7, 2023, 8:52pm UTC](https://discourse.scverse.org/t/how-to-properly-save-and-load-a-totalvi-trained-model-thats-based-on-mudata/1749 "2023-09-07T20:52:41Z")

</div>

I set up the totalVI model using mudata scvi.model.TOTALVI.setup\_mudata( mdata, rna\_layer="counts", protein\_layer=None, batch\_key="batch", modalities={ "rna\_layer": "rna\_subset", "pro…

---

## [TypeError when trying to set up scvi.model.TOTALVI()](https://discourse.scverse.org/t/typeerror-when-trying-to-set-up-scvi-model-totalvi/1709)

<div class="topic-metadata">

**Author:** [@hmnzo5gy](https://discourse.scverse.org/u/hmnzo5gy)\
**Replies:** 2\
**Last updated:** [August 29, 2023, 3:57am UTC](https://discourse.scverse.org/t/typeerror-when-trying-to-set-up-scvi-model-totalvi/1709 "2023-08-29T03:57:54Z")

</div>

When I try to set up MuData model for TotalVI using scvi.model.TOTALVI(mdata), I keep encountering “Type Error”: A sparse matrix was passed, but dense data is required. Use X.toarray() to convert to a dense numpy array. …

---

## [Increase number of CPU cores for vae.train() in scvi?](https://discourse.scverse.org/t/increase-number-of-cpu-cores-for-vae-train-in-scvi/1714)

<div class="topic-metadata">

**Author:** [@hmnzo5gy](https://discourse.scverse.org/u/hmnzo5gy)\
**Replies:** 3\
**Last updated:** [August 28, 2023, 9:03pm UTC](https://discourse.scverse.org/t/increase-number-of-cpu-cores-for-vae-train-in-scvi/1714 "2023-08-28T21:03:51Z")

</div>

When I run vae.train(use\_gpu=False), how can I increase number of CPU cores for parallel processing?

---

## [Debugging Issue for CITE-seq analysis with totalVI juytper notebook tutorial](https://discourse.scverse.org/t/debugging-issue-for-cite-seq-analysis-with-totalvi-juytper-notebook-tutorial/1516)

<div class="topic-metadata">

**Author:** [@Bakar](https://discourse.scverse.org/u/Bakar)\
**Replies:** 6\
**Last updated:** [June 21, 2023, 6:51pm UTC](https://discourse.scverse.org/t/debugging-issue-for-cite-seq-analysis-with-totalvi-juytper-notebook-tutorial/1516 "2023-06-21T18:51:18Z")

</div>

I am having issues addressing a error when trying to go through the CITE-seq analysis with totalVI notebook on my personal computer. An error surfaces when I try to run the following cell block: --------------------…

---

## [Totalvi failing to write an h5mu objecy](https://discourse.scverse.org/t/totalvi-failing-to-write-an-h5mu-objecy/1405)

<div class="topic-metadata">

**Author:** [@deevdevil88](https://discourse.scverse.org/u/deevdevil88)\
**Replies:** 7\
**Last updated:** [May 10, 2023, 10:15am UTC](https://discourse.scverse.org/t/totalvi-failing-to-write-an-h5mu-objecy/1405 "2023-05-10T10:15:03Z")

</div>

Hello, I have recently been encountering an error while running totalvi. Totalvi finishes running the model fine, but errors when trying to write out the h5mu object file. …

---

## [Dataset integration and analysis](https://discourse.scverse.org/t/dataset-integration-and-analysis/1342)

<div class="topic-metadata">

**Author:** [@mdbabumiamssm](https://discourse.scverse.org/u/mdbabumiamssm)\
**Replies:** 3\
**Last updated:** [May 3, 2023, 5:33pm UTC](https://discourse.scverse.org/t/dataset-integration-and-analysis/1342 "2023-05-03T17:33:11Z")

</div>

Hi everyone, I am working on multiple GEO datasets on a specific blood cancer. My intention is to download cell ranger processed raw data (as available) from GEO and then pre-process, integrate, and use the datasets for…

---

## [totalVI, peakVI, multiVI with scRNA-seq and scATAC-seq data](https://discourse.scverse.org/t/totalvi-peakvi-multivi-with-scrna-seq-and-scatac-seq-data/296)

<div class="topic-metadata">

**Author:** [@Z\_Huang](https://discourse.scverse.org/u/Z_Huang)\
**Replies:** 3\
**Last updated:** [March 9, 2023, 5:53pm UTC](https://discourse.scverse.org/t/totalvi-peakvi-multivi-with-scrna-seq-and-scatac-seq-data/296 "2023-03-09T17:53:07Z")

</div>

Hi community, I am new to scvi-tools and I went through all of the tutorials. I learned peakVI consumes scATAC-seq data for DNA analysis; totalVI consumes CITE-seq data for RNA and protein analysis. Here is my question…

---

## [3 sets of CITE-Seq data, how to concatenate or make single file for further analysis?](https://discourse.scverse.org/t/3-sets-of-cite-seq-data-how-to-concatenate-or-make-single-file-for-further-analysis/1116)

<div class="topic-metadata">

**Author:** [@mdbabumiamssm](https://discourse.scverse.org/u/mdbabumiamssm)\
**Replies:** 0\
**Last updated:** [February 7, 2023, 10:17pm UTC](https://discourse.scverse.org/t/3-sets-of-cite-seq-data-how-to-concatenate-or-make-single-file-for-further-analysis/1116 "2023-02-07T22:17:02Z")

</div>

Hi everyone , I have 3 sets of similar CITE-Seq data, i performed pre-processing individually using Muon+scanpy. Now, I want to make them as single file and perform comparative analysis. Any help ? Thanks in advance. …

---

## [multiVI and totalVI modal integration question](https://discourse.scverse.org/t/multivi-and-totalvi-modal-integration-question/743)

<div class="topic-metadata">

**Author:** [@yulijia](https://discourse.scverse.org/u/yulijia)\
**Replies:** 0\
**Last updated:** [September 15, 2022, 12:55pm UTC](https://discourse.scverse.org/t/multivi-and-totalvi-modal-integration-question/743 "2022-09-15T12:55:46Z")

</div>

Hi, Recently, I am using scvi-tools to generate multi-modal integrated datasets. I have a question about the MULTIVI.get\_latent\_representation and TOTALVI.get\_latent\_representation function. I followed the user guide …

---

## [TotalVI log normalization and non-negativity](https://discourse.scverse.org/t/totalvi-log-normalization-and-non-negativity/421)

<div class="topic-metadata">

**Author:** [@frankligy](https://discourse.scverse.org/u/frankligy)\
**Replies:** 4\
**Last updated:** [September 11, 2022, 10:51pm UTC](https://discourse.scverse.org/t/totalvi-log-normalization-and-non-negativity/421 "2022-09-11T22:51:32Z")

</div>

Hello, I was wondering about two questions: \[1\] Would that make sense to do log2 transformation on the denoised protein value (totalVI output)? \[2\] It looks like the totalVI output denoised protein value are all non-n…

---

## [Error in scvi.model.TOTALVI.setup\_anndata when loading protein-only data](https://discourse.scverse.org/t/error-in-scvi-model-totalvi-setup-anndata-when-loading-protein-only-data/697)

<div class="topic-metadata">

**Author:** [@JohnMCMa](https://discourse.scverse.org/u/JohnMCMa)\
**Replies:** 5\
**Last updated:** [August 25, 2022, 9:28pm UTC](https://discourse.scverse.org/t/error-in-scvi-model-totalvi-setup-anndata-when-loading-protein-only-data/697 "2022-08-25T21:28:14Z")

</div>

Hi, This is my first post here, so please apologize if I did something wrong. I have been using TOTALVI for protein-only CITE-seq analyses for quite a while, and I’m sure I have been able to get good results using scvi…

---

## [Advice regarding complex multimodal integration/analysis strategy](https://discourse.scverse.org/t/advice-regarding-complex-multimodal-integration-analysis-strategy/647)

<div class="topic-metadata">

**Author:** [@amagen](https://discourse.scverse.org/u/amagen)\
**Replies:** 0\
**Last updated:** [July 28, 2022, 3:19pm UTC](https://discourse.scverse.org/t/advice-regarding-complex-multimodal-integration-analysis-strategy/647 "2022-07-28T15:19:12Z")

</div>

Hi all, I have a couple of human cancer types, each with different modalities (scRNAseq,CITEseq,MERFISH for cancer type #1 and scRNAseq,CITEseq,scATACseq,multiome for cancer type #2), some have different technology vers…

---

## [The totalVI DE test; gene names](https://discourse.scverse.org/t/the-totalvi-de-test-gene-names/474)

<div class="topic-metadata">

**Author:** [@Milcah](https://discourse.scverse.org/u/Milcah)\
**Replies:** 2\
**Last updated:** [May 24, 2022, 2:29pm UTC](https://discourse.scverse.org/t/the-totalvi-de-test-gene-names/474 "2022-05-24T14:29:23Z")

</div>

Hello, I was using the totalVI de test with scvi tools 0.13.0. After updating to scvi tools 0.16.0 I am not able to get the gene names as the first column of the de\_df matrix. Rather, the first column is the number corr…

---

## [ScArches-TotalVI reproducibility](https://discourse.scverse.org/t/scarches-totalvi-reproducibility/463)

<div class="topic-metadata">

**Author:** [@Nusob888](https://discourse.scverse.org/u/Nusob888)\
**Replies:** 15\
**Last updated:** [May 19, 2022, 11:38am UTC](https://discourse.scverse.org/t/scarches-totalvi-reproducibility/463 "2022-05-19T11:38:00Z")

</div>

Hi all, Having read the recent lung atlas preprint, I have realised that they implement a different approach to atlas extension than what is described in scvi-tools and scarches tutorials. In the reproducibility code t…

[Next page](https://discourse.scverse.org/tag/totalvi/17.md?match_all_tags=true&page=1&tags%5B%5D=totalvi)
