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.fcs 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.fcs 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.fcs 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.3.1.tar.gz (13.9 kB view hashes)

Uploaded source

Built Distribution

fcsy-0.3.1-py2.py3-none-any.whl (6.4 kB view hashes)

Uploaded py2 py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page