# FlowFairy API This crate provides methods for manipulating flow cytometry files. Please refer to the API [documentation](https://docs.rs/flowfairy_api) for more information. ## Installation This crate is available on [crates.io](https://crates.io/crates/flowfairy_api). To use it, add the following to your `Cargo.toml`: ```toml [dependencies] flowfairy_api = "0.2.2" ``` ## Usage Reading an fcs file: ```rust use flowfairy_api::fcs::FcsFile; fn main() { let fcs_file = FcsFile::open("./path/to/file.fcs").unwrap(); let data = fcs_file.read().unwrap(); // use the metadata field to get the FCS version println!("FCS version: {}", data.metadata.version); // use the parameters field to get the parameters println!("Parameters:"); data.parameters.keys().for_each(|name| println!("{}", name)); } ```