bio-expression-matrix-counts-ingest
Installation
SKILL.md
Version Compatibility
Reference examples tested with: pandas 2.2+
Before using code patterns, verify installed versions match. If versions differ:
- Python:
pip show <package>thenhelp(module.function)to check signatures - R:
packageVersion('<pkg>')then?function_nameto verify parameters
If code throws ImportError, AttributeError, or TypeError, introspect the installed package and adapt the example to match the actual API rather than retrying.
Count Matrix Ingestion
Basic CSV/TSV Loading
Goal: Load a gene expression count matrix from a delimited text file into a pandas DataFrame.
Approach: Read CSV/TSV with gene IDs as the row index, handling comment lines if present.