1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/*!
A crate for manpulating flow cytometry data.
NOTE: This library is still under development and is not ready for any kind of production use.
# Installation
This crate is on [crates.io](https://crates.io/crates/flowfairy_api) and can be used by adding `flowfairy_api` to the dependencies in your project's `cargo.toml`.
```toml
[dependencies]
flowfairy_api = "0.2.2"
```
# Examples
Opening and reading an FCS file:
```rust,no_run
use flowfairy_api::fcs::{FcsFile, FcsData, FcsError};
use std::io;
fn load_fcs_data() -> Result<FcsData, FcsError>{
let fcs_file = FcsFile::open("./path/to/file.fcs")?;
let data = fcs_file.read()?;
// use the parameters field to get the parameters
println!("Parameters:");
data.parameters.keys().for_each(|name| println!("{}", name));
Ok(data)
}
```
*/
//mod gating;