Skip to content

docs: prefer layers for single-cell count preservation#116

Open
Cmf (Cmfffff) wants to merge 1 commit into
synthetic-sciences:mainfrom
Cmfffff:docs/layers-count-preservation
Open

docs: prefer layers for single-cell count preservation#116
Cmf (Cmfffff) wants to merge 1 commit into
synthetic-sciences:mainfrom
Cmfffff:docs/layers-count-preservation

Conversation

@Cmfffff

Copy link
Copy Markdown

Summary

  • Clarify AnnData concatenation guidance around join='outer' for preserving the union of variables/features.
  • Replace default .raw preservation recommendations with explicit adata.layers['counts'] = adata.X.copy() workflows.
  • Align Scanpy workflow docs and analysis template with layers-first count preservation guidance.

Test Plan

  • git diff --check HEAD~1 HEAD
  • grep -R "adata\\.raw = adata\\|adata\\.raw = adata.copy()\\|use_raw=True\\|Always save raw counts\\|Raw data backup\\|Store raw" backend/cli/skills/biology/anndata backend/cli/skills/biology/scanpy || true
  • grep -R "layers\\['counts'\\] = adata.X.copy()" backend/cli/skills/biology/anndata backend/cli/skills/biology/scanpy
  • Bun validation/tests not run per maintainer instruction; changes are skill docs/template only.

🤖 Generated with Claude Code

Clarify AnnData outer joins for preserving variables and update biology skill workflows to preserve counts in layers instead of relying on adata.raw.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@vercel

vercel Bot commented Jul 6, 2026

Copy link
Copy Markdown

Cmf (@Cmfffff) is attempting to deploy a commit to the InkVell Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant