scverse / scverse/fast-array-utils

Maybe support stats for `anndata.abc.CS*Dataset` with anndata 0.12

Open
#52 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

type: disk
Dominant language
Python
Stars
15
Forks
5
Avg merge
10h 33m
Merged PRs (30d)
9

Description

We might be able to run sum, mean, and maybe even mean_var on it with sparrays:

with anndata.settings.override(use_sparse_array_on_read=True):
    return np.sum(sds)

Contributor guide

No contributing guide indexed for this repository

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

No files or tests are named. Start from the anndata.settings.override(use_sparse_array_on_read=True) example and inspect the existing handling of np.sum, mean, and mean_var for anndata.abc.CS*Dataset; done means the supported statistics work for that dataset type.

Written by the indexing model from the issue text.

Assessment

Tech stack
numpy, python
Domain
data
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.