scverse / scverse/scanpy

pbmc68k_reduced raw counts

Open
#3,224 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
2.6k
Forks
779
Avg merge
1d 4h
Merged PRs (30d)
27

Description

Hi!

I was playing with the pbmc68k_reduced dataset and I saw that it has decimal values even in the "raw" matrix:

>>> adata.raw.X.data
array([2.177, 2.177, 2.544, ..., 1.142, 2.255, 1.142], dtype=float32)

which transformation has been applied? shouldn't the "raw" group contain unprocessed counts? is there a standard for this? Ideally, I would like to know where to find the raw, unprocessed, counts everytime I see an anndata or h5ad file.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the scanpy.datasets.pbmc68k_reduced documentation linked in the issue and inspect how its adata.raw.X values are produced. Determine which transformation was applied, whether raw has a defined standard, and document where users can find unprocessed counts in an AnnData or h5ad file.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
bioinformatics, data
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.