Quickstart#

import pytometry as pm
import readfcs
import anndata

Read fcs file example from the readfcs package.

path_data = readfcs.datasets.example()
adata = pm.io.read_fcs(path_data)
assert isinstance(adata, anndata._core.anndata.AnnData)

Save data to HDF5 file format.

adata.write("example.h5ad")