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.

Files for fcsy, version 0.3.1
Filename, size File type Python version Upload date Hashes
Filename, size fcsy-0.3.1-py2.py3-none-any.whl (6.4 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size fcsy-0.3.1.tar.gz (13.9 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page