Skip to content

Inconsistent input data in scPoli tutorial: normalized values instead of raw counts #271

Description

@zerostwo

Hi scArches team,

Thank you for the excellent work on scPoli and the supporting tutorials!

I noticed a potential issue in the scPoli surgery tutorial. Specifically, the tutorial downloads pancreas.h5ad from Figshare (link) as input data. However, upon inspection, the .X matrix in this AnnData object contains normalized or log-transformed values, not raw UMI counts.

This conflicts with the expectation of scPoli, which uses recon_loss='nb' by default and requires raw count data for accurate modeling of gene expression under a negative binomial distribution. Using normalized data here could compromise both the training and downstream integration quality.

Suggestions:

  • Could you clarify whether the model is still expected to work with normalized data in this tutorial case?
  • If not, please consider either:
  • Updating the dataset to include raw counts, or
  • Including a note in the documentation that explicitly warns users that the data is normalized and should be replaced with raw counts before model training.

Thanks again for providing such powerful tools to the community!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions