# Help

**URL:** https://discourse.scverse.org/c/help/27.md?page=1

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

**Page:** 2

---

## [ResolVI Corrected Counts for Segmented Visium HD Data](https://discourse.scverse.org/t/resolvi-corrected-counts-for-segmented-visium-hd-data/3948)

<div class="topic-metadata">

**Author:** [@dow527](https://discourse.scverse.org/u/dow527)\
**Replies:** 3\
**Last updated:** [April 23, 2026, 4:40pm UTC](https://discourse.scverse.org/t/resolvi-corrected-counts-for-segmented-visium-hd-data/3948 "2026-04-23T16:40:50Z")

</div>

Hi, I’m trying to understand the correct method for running ResolVI on Visium HD data that has been segmented using proseg as opposed to 8μM bins used in the reproducibility jupyter notebooks. I’m currently following t…

---

## [Correct way to run SOLO for doublet detection](https://discourse.scverse.org/t/correct-way-to-run-solo-for-doublet-detection/3949)

<div class="topic-metadata">

**Author:** [@shevo33](https://discourse.scverse.org/u/shevo33)\
**Replies:** 2\
**Last updated:** [April 23, 2026, 9:29am UTC](https://discourse.scverse.org/t/correct-way-to-run-solo-for-doublet-detection/3949 "2026-04-23T09:29:07Z")

</div>

Hi everyone, I am trying to run SOLO for doublet detection. However, I am not sure what is the correct way. At first, I thought I have to run Solo after sc.pp.highly\_variable\_genes(adata), but later I realized it makes…

---

## [Mapping 10X Xenium 5k data to scRNA-seq reference](https://discourse.scverse.org/t/mapping-10x-xenium-5k-data-to-scrna-seq-reference/3953)

<div class="topic-metadata">

**Author:** [@Furbelox](https://discourse.scverse.org/u/Furbelox)\
**Replies:** 3\
**Last updated:** [April 23, 2026, 9:26am UTC](https://discourse.scverse.org/t/mapping-10x-xenium-5k-data-to-scrna-seq-reference/3953 "2026-04-23T09:26:33Z")

</div>

Hello everyone, I’m desperately trying to create a latent space from my scRNA-seq reference and map my Xenium cells to that. “Reference mapping with scvi-tools” worked well for each dataset individually, but together, r…

---

## [PeakVI preprocessing for multi-timepoint scATAC-seq when peak coordinates differ slightly across samples](https://discourse.scverse.org/t/peakvi-preprocessing-for-multi-timepoint-scatac-seq-when-peak-coordinates-differ-slightly-across-samples/3967)

<div class="topic-metadata">

**Author:** [@khagani](https://discourse.scverse.org/u/khagani)\
**Replies:** 2\
**Last updated:** [April 23, 2026, 9:19am UTC](https://discourse.scverse.org/t/peakvi-preprocessing-for-multi-timepoint-scatac-seq-when-peak-coordinates-differ-slightly-across-samples/3967 "2026-04-23T09:19:24Z")

</div>

I am working with a scATAC-seq / multi-timepoint reprogramming dataset and want to run PeakVI on a combined AnnData object across samples/timepoints. The issue is that peaks were called separately for each sample, so the…

---

## [Interpreting decoupler results](https://discourse.scverse.org/t/interpreting-decoupler-results/3962)

<div class="topic-metadata">

**Author:** [@jpagolia](https://discourse.scverse.org/u/jpagolia)\
**Replies:** 1\
**Last updated:** [April 16, 2026, 5:27pm UTC](https://discourse.scverse.org/t/interpreting-decoupler-results/3962 "2026-04-16T17:27:45Z")

</div>

I am using decoupler’s univariate linear model approach to infer transcription factor activity based on Collectri GRNs. When I run decoupler.rankby\_group() with the Wilcoxon test to obtain a list of the top inferred tran…

---

## [Running scCODA with confounding covariate](https://discourse.scverse.org/t/running-sccoda-with-confounding-covariate/3961)

<div class="topic-metadata">

**Author:** [@shihsama](https://discourse.scverse.org/u/shihsama)\
**Replies:** 0\
**Last updated:** [April 15, 2026, 6:35am UTC](https://discourse.scverse.org/t/running-sccoda-with-confounding-covariate/3961 "2026-04-15T06:35:09Z")

</div>

Hi! I’m running scCODA on an integrated AnnData object with integrated multiple datasets, and I have a few questions: 1.My main variable of interest is condition (i.e.,adata.obs\["condition"\]). Should I include dataset …

---

## [MRVI Jax Error "Invalid component distribution"](https://discourse.scverse.org/t/mrvi-jax-error-invalid-component-distribution/3959)

<div class="topic-metadata">

**Author:** [@ggruenhagen3](https://discourse.scverse.org/u/ggruenhagen3)\
**Replies:** 3\
**Last updated:** [April 13, 2026, 2:27pm UTC](https://discourse.scverse.org/t/mrvi-jax-error-invalid-component-distribution/3959 "2026-04-13T14:27:55Z")

</div>

Hello! I am trying to run MRVI on some scRNAseq data and ran into an error (listed below) during model.train(). I initially ran into this error when using jax version 0.9.2 and I saw in the first line of output from mode…

---

## [Client.restart errors for dask cuda clusters (pooled mode rapids)](https://discourse.scverse.org/t/client-restart-errors-for-dask-cuda-clusters-pooled-mode-rapids/3958)

<div class="topic-metadata">

**Author:** [@mkarikom](https://discourse.scverse.org/u/mkarikom)\
**Replies:** 0\
**Last updated:** [April 10, 2026, 1:45pm UTC](https://discourse.scverse.org/t/client-restart-errors-for-dask-cuda-clusters-pooled-mode-rapids/3958 "2026-04-10T13:45:41Z")

</div>

I need to process several mdata modalities serially (updating shared mdata embeddings in between as needed for shared embeddings) in rapids but my total cluster VRAM is only ~350gb, so my strategy is to re-initialize the…

---

## [Filter\_by\_expr parameters Decoupler](https://discourse.scverse.org/t/filter-by-expr-parameters-decoupler/3955)

<div class="topic-metadata">

**Author:** [@npont](https://discourse.scverse.org/u/npont)\
**Replies:** 4\
**Last updated:** [April 8, 2026, 2:49pm UTC](https://discourse.scverse.org/t/filter-by-expr-parameters-decoupler/3955 "2026-04-08T14:49:40Z")

</div>

Hello, I am struggling to understand the filtering done in decoupler.pp.filter\_by\_expr. I first used the pl.filter\_by\_expr to visualize how genes are expressed in my pseudobulk samples using: dc.pl.filter\_by\_expr( ad…

---

## [Impact of tmin parameter (decoupler.mt.ulm)](https://discourse.scverse.org/t/impact-of-tmin-parameter-decoupler-mt-ulm/3947)

<div class="topic-metadata">

**Author:** [@npont](https://discourse.scverse.org/u/npont)\
**Replies:** 1\
**Last updated:** [April 6, 2026, 6:06pm UTC](https://discourse.scverse.org/t/impact-of-tmin-parameter-decoupler-mt-ulm/3947 "2026-04-06T18:06:25Z")

</div>

Hello, I wonder the impact of modifying tmin parameter in decoupler.mt.ulm when focusing on Gene Regulatory Networks . As a recall, tmin is the minimum number of targets per source. I guess by increasing tmin we have l…

---

## [Multi-threading support in decoupler](https://discourse.scverse.org/t/multi-threading-support-in-decoupler/3859)

<div class="topic-metadata">

**Author:** [@amit491](https://discourse.scverse.org/u/amit491)\
**Replies:** 1\
**Last updated:** [April 6, 2026, 6:01pm UTC](https://discourse.scverse.org/t/multi-threading-support-in-decoupler/3859 "2026-04-06T18:01:54Z")

</div>

Hello, This is my first post in the forum here. I am trying to implement Transcription factor (TF) activity estimation on large scRNA dataset. I tried the R implementation of the decoupler package, but the run\_ulm step…

---

## [CPU memory usage in multi-GPU training](https://discourse.scverse.org/t/cpu-memory-usage-in-multi-gpu-training/3944)

<div class="topic-metadata">

**Author:** [@ktravaglini](https://discourse.scverse.org/u/ktravaglini)\
**Replies:** 6\
**Last updated:** [April 4, 2026, 8:44am UTC](https://discourse.scverse.org/t/cpu-memory-usage-in-multi-gpu-training/3944 "2026-04-04T08:44:57Z")

</div>

Hello, I’ve been exploring multi-GPU training in the hopes it’ll speed analysis of our larger (~15-20 million nuclei) datasets. In my initial testing in scvi-tools version 1.4.2, it seems activating multi-GPU training d…

---

## [How to use GPU partitions (MIGs)?](https://discourse.scverse.org/t/how-to-use-gpu-partitions-migs/3951)

<div class="topic-metadata">

**Author:** [@shevo33](https://discourse.scverse.org/u/shevo33)\
**Replies:** 1\
**Last updated:** [March 28, 2026, 1:13pm UTC](https://discourse.scverse.org/t/how-to-use-gpu-partitions-migs/3951 "2026-03-28T13:13:33Z")

</div>

Hi everyone, I am trying to run scvi as followed, but I wan to speed up by using several GPUs. However, my cluster only gives me MIG partitions from GPUs. Even tho I can request several, when feeding the MIGs to scvi…

---

## [Unstable result](https://discourse.scverse.org/t/unstable-result/1090)

<div class="topic-metadata">

**Author:** [@GwangWooKim](https://discourse.scverse.org/u/GwangWooKim)\
**Replies:** 2\
**Last updated:** [March 27, 2026, 3:54pm UTC](https://discourse.scverse.org/t/unstable-result/1090 "2026-03-27T15:54:08Z")

</div>

Hello, I’m going to analyze the single-cell RNA sequencing data using the scVI framework. After training the scVI model, I found that the result of model.differential\_expression is unstable (specifically, it varies from…

---

## [Sc.pl.rank\_genes\_groups\_heatmap - saving figure to file](https://discourse.scverse.org/t/sc-pl-rank-genes-groups-heatmap-saving-figure-to-file/3925)

<div class="topic-metadata">

**Author:** [@kevinrue](https://discourse.scverse.org/u/kevinrue)\
**Replies:** 1\
**Last updated:** [March 13, 2026, 3:02pm UTC](https://discourse.scverse.org/t/sc-pl-rank-genes-groups-heatmap-saving-figure-to-file/3925 "2026-03-13T15:02:59Z")

</div>

The sc.pl.rank\_genes\_groups\_heatmap() documentation states that save= is “deprecated in favour of sc.pl.plot(show=False).figure.savefig()“ I’ve tried adapting the example code in the documentation to my interpretation o…

---

## [Plotting the tangram imputed spatial data with spatialdata\_plot](https://discourse.scverse.org/t/plotting-the-tangram-imputed-spatial-data-with-spatialdata-plot/3942)

<div class="topic-metadata">

**Author:** [@mdka00001](https://discourse.scverse.org/u/mdka00001)\
**Replies:** 3\
**Last updated:** [March 11, 2026, 2:02pm UTC](https://discourse.scverse.org/t/plotting-the-tangram-imputed-spatial-data-with-spatialdata-plot/3942 "2026-03-11T14:02:10Z")

</div>

I am trying to plot the features of my tangram imupted spatial data by using the spatial image and cell segmentation of my reference spatial data. In general, I want to render a plot as below: However, only replacing…

---

## [Macbook M1 M2 mps acceleration with scVI](https://discourse.scverse.org/t/macbook-m1-m2-mps-acceleration-with-scvi/2075)

<div class="topic-metadata">

**Author:** [@davemcg](https://discourse.scverse.org/u/davemcg)\
**Replies:** 10\
**Last updated:** [March 3, 2026, 11:43am UTC](https://discourse.scverse.org/t/macbook-m1-m2-mps-acceleration-with-scvi/2075 "2026-03-03T11:43:54Z")

</div>

Has anyone recently gotten scVI (ideally 1.0.4) working with “GPU” (well, “mps”) acceleration with a Apple ARM M1, M2, or M3? I’ve tried a variety of incantations when installing torch and jax and it either doesn’t see t…

---

## [Regarding resolvi reproducibility scripts and fov for xenium](https://discourse.scverse.org/t/regarding-resolvi-reproducibility-scripts-and-fov-for-xenium/3939)

<div class="topic-metadata">

**Author:** [@jairaj-mathur](https://discourse.scverse.org/u/jairaj-mathur)\
**Replies:** 2\
**Last updated:** [March 2, 2026, 8:11pm UTC](https://discourse.scverse.org/t/regarding-resolvi-reproducibility-scripts-and-fov-for-xenium/3939 "2026-03-02T20:11:56Z")

</div>

Hi, I was going through the resolvi reproducibilty scripts, and for xenium, it seems like fov as batch was used. I was wondering how you were able to get that information in your anndata object, as the table from spatial…

---

## [Is older advice for estimating optimal number of epochs for model training of scVI still recommended?](https://discourse.scverse.org/t/is-older-advice-for-estimating-optimal-number-of-epochs-for-model-training-of-scvi-still-recommended/3932)

<div class="topic-metadata">

**Author:** [@timslittle](https://discourse.scverse.org/u/timslittle)\
**Replies:** 6\
**Last updated:** [March 1, 2026, 8:13am UTC](https://discourse.scverse.org/t/is-older-advice-for-estimating-optimal-number-of-epochs-for-model-training-of-scvi-still-recommended/3932 "2026-03-01T08:13:51Z")

</div>

Hi Team, Earlier docs for scVI mention that the number of epochs should scale downwards with number of obs/cells. E.g: “(\[For\] \> 100,000 cells) you may only need ~10 epochs.” I cannot find similar advice on the modern d…

---

## [Ablating latent variables in LinearSCVI](https://discourse.scverse.org/t/ablating-latent-variables-in-linearscvi/3476)

<div class="topic-metadata">

**Author:** [@ajaynadig](https://discourse.scverse.org/u/ajaynadig)\
**Replies:** 5\
**Last updated:** [February 24, 2026, 1:30pm UTC](https://discourse.scverse.org/t/ablating-latent-variables-in-linearscvi/3476 "2026-02-24T13:30:57Z")

</div>

Hello, and thank you for these amazing and very useful packages. I have trained a series of LDVAE models and suspect that a particular latent variable is driving performance in a subset of evaluation cells. To test thi…

---

## [Obs.perturbation and obs.gene in Replogle dataset](https://discourse.scverse.org/t/obs-perturbation-and-obs-gene-in-replogle-dataset/3933)

<div class="topic-metadata">

**Author:** [@natalia.nutella](https://discourse.scverse.org/u/natalia.nutella)\
**Replies:** 1\
**Last updated:** [February 19, 2026, 3:03pm UTC](https://discourse.scverse.org/t/obs-perturbation-and-obs-gene-in-replogle-dataset/3933 "2026-02-19T15:03:04Z")

</div>

Hi, I fetched the Replogle 2022 K562 essential dataset with pt.data.replogle\_2022\_k562\_essential() and I’m quite confused by the gene and perturbation columns in .obs: # Unique perturbations from PertPy dataset, sorted…

---

## [Can scCODA in pertpy be applied to compositional analysis of annotated spatial transcriptomics spots?](https://discourse.scverse.org/t/can-sccoda-in-pertpy-be-applied-to-compositional-analysis-of-annotated-spatial-transcriptomics-spots/3934)

<div class="topic-metadata">

**Author:** [@shihsama](https://discourse.scverse.org/u/shihsama)\
**Replies:** 1\
**Last updated:** [February 10, 2026, 9:45am UTC](https://discourse.scverse.org/t/can-sccoda-in-pertpy-be-applied-to-compositional-analysis-of-annotated-spatial-transcriptomics-spots/3934 "2026-02-10T09:45:42Z")

</div>

Hi, I have previously used scCODA of pertpy for compositional analysis on single-cell data. However, I am unsure whether the same approach can be applied to annotated spatial transcriptomics spots. specifically, if spa…

---

## [Scvi-tools not allowing me to download cellxgene census data](https://discourse.scverse.org/t/scvi-tools-not-allowing-me-to-download-cellxgene-census-data/3926)

<div class="topic-metadata">

**Author:** [@igrisch](https://discourse.scverse.org/u/igrisch)\
**Replies:** 2\
**Last updated:** [January 28, 2026, 8:21pm UTC](https://discourse.scverse.org/t/scvi-tools-not-allowing-me-to-download-cellxgene-census-data/3926 "2026-01-28T20:21:22Z")

</div>

Hi there, I am trying to follow the tutorial here: I basically want to take the census data and query my own dataset against all the census data. I am running into the following error when I try to do the tutorial’s s…

---

## [Does Decipher require cell type annotation](https://discourse.scverse.org/t/does-decipher-require-cell-type-annotation/3920)

<div class="topic-metadata">

**Author:** [@BiggusDikkusMaximus](https://discourse.scverse.org/u/BiggusDikkusMaximus)\
**Replies:** 6\
**Last updated:** [January 28, 2026, 9:54am UTC](https://discourse.scverse.org/t/does-decipher-require-cell-type-annotation/3920 "2026-01-28T09:54:26Z")

</div>

Hello, I am planning to use decipher to batch correct my single cell embryo data across developmental stage, and i was wondering if the method requires annotation since i only have an adata.obs column for sample stage.

---

## [Best practices for downstream analysis of Resolvi-corrected data](https://discourse.scverse.org/t/best-practices-for-downstream-analysis-of-resolvi-corrected-data/3906)

<div class="topic-metadata">

**Author:** [@skleeman](https://discourse.scverse.org/u/skleeman)\
**Replies:** 2\
**Last updated:** [January 27, 2026, 5:09am UTC](https://discourse.scverse.org/t/best-practices-for-downstream-analysis-of-resolvi-corrected-data/3906 "2026-01-27T05:09:35Z")

</div>

Dear scverse team, Thank you for all your efforts in creating this incredible software library. I have a question about resolvi, which I am using to analyze and corrected batch effects for a set of Xenium datasets. Vari…

---

## [Interpretting differential gene expression dotplot](https://discourse.scverse.org/t/interpretting-differential-gene-expression-dotplot/3923)

<div class="topic-metadata">

**Author:** [@smartinez](https://discourse.scverse.org/u/smartinez)\
**Replies:** 0\
**Last updated:** [January 23, 2026, 5:17pm UTC](https://discourse.scverse.org/t/interpretting-differential-gene-expression-dotplot/3923 "2026-01-23T17:17:10Z")

</div>

I am going through scanpy tutorials for the first time and don’t understand how to interpret parts of the differential gene expression dotplot of logfoldchange from their plotting tutorial (I did not generate this, it’s …

---

## [When to use the batch\_key in highly\_variable\_genes()](https://discourse.scverse.org/t/when-to-use-the-batch-key-in-highly-variable-genes/3922)

<div class="topic-metadata">

**Author:** [@BiggusDikkusMaximus](https://discourse.scverse.org/u/BiggusDikkusMaximus)\
**Replies:** 0\
**Last updated:** [January 21, 2026, 11:44am UTC](https://discourse.scverse.org/t/when-to-use-the-batch-key-in-highly-variable-genes/3922 "2026-01-21T11:44:22Z")

</div>

Hello, I was reading the readdocs for highly\_variable\_genes() and i was wondering when to use the batch\_key when performing sc Analysis.

---

## [Invitation to Maintain Your Package in Claude Scientific Skills](https://discourse.scverse.org/t/invitation-to-maintain-your-package-in-claude-scientific-skills/3914)

<div class="topic-metadata">

**Author:** [@Darshil](https://discourse.scverse.org/u/Darshil)\
**Replies:** 0\
**Last updated:** [January 16, 2026, 5:28pm UTC](https://discourse.scverse.org/t/invitation-to-maintain-your-package-in-claude-scientific-skills/3914 "2026-01-16T17:28:38Z")

</div>

Hi, We’ve built an open-source collection of agent skills focused on scientific workflows called Claude Scientific Skills. The project has grown quickly and currently has around 6,000 GitHub stars, with tens of thousand…

---

## [Resolvi differential test does not converge (?)](https://discourse.scverse.org/t/resolvi-differential-test-does-not-converge/3907)

<div class="topic-metadata">

**Author:** [@KSimi7](https://discourse.scverse.org/u/KSimi7)\
**Replies:** 5\
**Last updated:** [January 15, 2026, 7:36pm UTC](https://discourse.scverse.org/t/resolvi-differential-test-does-not-converge/3907 "2026-01-15T19:36:24Z")

</div>

Hi, Thanks for the great tool! I have been using Resolvi to correct for batch effects in my single cell spatial transcriptomics data. Additionally, I m also using it to check for differences between the nuclei-expanded …

---

## [Data scaling for cytovi](https://discourse.scverse.org/t/data-scaling-for-cytovi/3911)

<div class="topic-metadata">

**Author:** [@ghar1821](https://discourse.scverse.org/u/ghar1821)\
**Replies:** 2\
**Last updated:** [January 15, 2026, 3:16pm UTC](https://discourse.scverse.org/t/data-scaling-for-cytovi/3911 "2026-01-15T15:16:40Z")

</div>

Hi guys, In cytovi tutorial, i see a data scaling step for each batch cytovi.scale(adata\_batch1) which by default scale the data to range between 0-1 using sklearn’s MinMaxScaler. Post correction, what is the best way …

[Previous page](https://discourse.scverse.org/c/help/27.md)

[Next page](https://discourse.scverse.org/c/help/27.md?page=2)
