bio-flow-cytometry-fcs-handling
Installation
SKILL.md
Version Compatibility
Reference examples tested with: flowCore 2.14+, scanpy 1.10+
Before using code patterns, verify installed versions match. If versions differ:
- 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.
FCS File Handling
"Load my FCS files into R or Python" → Read Flow Cytometry Standard (FCS) files, access channel parameters and metadata, and explore event data for downstream analysis.
- R:
flowCore::read.FCS()orflowCore::read.flowSet()for multiple files - Python:
fcsparser.parse()orFlowCal.io.FCSData()
Load FCS Files
Goal: Read a single FCS file and inspect its parameters and metadata.