FlowKit icon indicating copy to clipboard operation
FlowKit copied to clipboard

Create new fcs with metadata

Open DomenicoDB opened this issue 1 year ago • 1 comments

Hi,

I would create a new fcs file from a pandas dataframe. Is there a way, using flowkit, to write metadata in this new fcs file?

Thanks in advance

DomenicoDB avatar Oct 11 '22 16:10 DomenicoDB

Hi,

Yes, the Sample class has a metadata attribute, which is a dictionary of key/value string pairs. The metadata can be included in the export method by setting the keyword argument include_metadata=True.

whitews avatar Oct 13 '22 13:10 whitews