Skip to main content

A package for processing FCS files

Project description

fcsy

https://img.shields.io/pypi/v/fcsy.svg https://img.shields.io/travis/nehcgnay/fcsy.svg

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


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)

Uploaded Source

Built Distribution

fcsy-0.4.0-py2.py3-none-any.whl (6.5 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page