Individual skill
anndata
Data structure for annotated matrices in single-cell analysis; use when reading/writing .h5ad (or zarr) and exchanging data with the scverse ecosystem.
scientific-skills/Data Analysis/anndata/SKILL.md
Source commit 686e09dfdb45d9fa1a08664f06bb93769b3c9d91
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- Yes
- Repository scan complete
- No
- Skill scan complete
- No
- Observed behavior
- Network or broad shell
- Last checked
- Nov 9, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.
Repository context
- Repository stars (not skill ratings)
- 2,042
- Repository last updated
- Sep 17, 2026
- License
- MIT
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
- bioinformatics Repository topic
- computational-biology Repository topic
- data-analysis Repository topic
- ai Repository topic
- biology Repository topic
- cancer-genomics Repository topic
- data-visualization Repository topic
- differential-expression Repository topic
- genomics Repository topic
- medical Repository topic
- writing Derived category
- data Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
SKILL.mdcore · 6,755 bytesSKILL.mdcore · 6,755 bytesanndata_audit_result_v1.jsonasset · 12,470 bytesreferences/best_practices.mddoc · 11,947 bytesreferences/concatenation.mddoc · 10,429 bytesreferences/data_structure.mddoc · 8,741 bytesreferences/io_operations.mddoc · 9,407 bytesreferences/manipulation.mddoc · 11,878 bytes
Read excerpt
> **Source**: [https://github.com/aipoch/medical-research-skills](https://github.com/aipoch/medical-research-skills)
## When to Use
Use AnnData when you need to:
- Load, inspect, or export annotated single-cell datasets stored as `.h5ad` (or `zarr`) for downstream tools.
- Keep a matrix (cells × features) tightly coupled with observation/feature metadata (e.g., cell types, batches, gene annotations).
- Work efficiently with large, sparse count matrices (e.g., scRNA-seq) and avoid loading everything into memory (backed mode).
- Combine multiple experiments/batches/modalities into a unified object while tracking provenance.
- Subset/filter/transform data while preserving alignment between the matrix and metadata.
## Key Features
- **Unified container**: `X` (data matrix) plus aligned annotations: `obs`, `var`, `uns`, and multi-dimensional slots (`obsm`, `varm`, `obsp`, `varp`), plus `layers` and optional `raw`.