scverse / scverse/scanpy

sc.get.aggregate summary statistics

Open
#3,063 4 comments 0 reactions 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

What kind of feature would you like to request?

Additional function parameters / changed functionality / changed defaults?

Please describe your wishes

It would be nice if sc.get.aggregate provided a way to compute summary statistics and put them in .obs of the aggregated AnnData object.

Most important would be for me to store the number of cells per aggregated sample, for being able to filter out samples below a certain threshold.

Not even sure if there are other metrics that are relevant, but in the most general case it would take a callback function.

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 sc.get.aggregate entry point and the aggregated AnnData object's .obs behavior. Clarify which summary statistics are supported, how cell counts are represented, and whether callback results are accepted; the work is done when the interface and stored outputs are defined and implemented.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
bioinformatics, data
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.