A package for processing FCS files
Project description
fcsy
A package for processing FCS files.
Free software: MIT license
Installation
pip install fcsy
Usage
Read a fcs file to pandas DataFrame.
from fcsy import read_fcs
df = read_fcs('input_file')
Read a fcs file with “long name”
df = read_fcs('input_file', name_type='long')
# or only read the names
from fcsy import read_fcs_names
long_names = read_fcs_names('input_file', name_type='long')
Write a data frame to fcs. df.columns is written to both short and long names of the fcs.
from fcsy import write_fcs
write_fcs(df, 'output_file')
Write to fcs with “long name”. df.columns and long_names are written to short and long names of the fcs.
write_fcs(df, 'output_file', long_names=['a','b','c'])
Credits
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.
History
0.1.0 (2018-12-18)
First release on PyPI.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
fcsy-0.4.0.tar.gz
(14.7 kB
view hashes)