Code covered by the BSD License  

Highlights from
writeFCS(fname, DATA, TEXT, OTHER)

4.0 | 1 rating Rate this file 13 Downloads (last 30 days) File Size: 19.6 KB File ID: #42603 Version: 1.2
image thumbnail

writeFCS(fname, DATA, TEXT, OTHER)



12 Jul 2013 (Updated )

writeFCS creates FCS file specified by Data File Standard for Flow Cytometry

| Watch this File

File Information

writeFCS is a Matlab function for creating FCS files specified by Data File Standard for Flow Cytometry version 3.1. The function is designed to be easy to use and to be highly forgiving in terms of accuracy of the user-supplied input data. It only requires the source dataset to automatically create an FCS file with optimal settings. It also provides the opportunity to manually specify the TEXT section of the FCS file. For the required parts of the TEXT section, the function parses the user-supplied data and corrects them automatically to comply with the FCS version 3.1 data standard. It gives warnings, when conflict in compliance is detected. Non-required parts of TEXT are still exported but they are not checked for compliance.

Required Products MATLAB
MATLAB release MATLAB 8.4 (R2014b)
MATLAB Search Path
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (2)
05 Jun 2015 Jakub Nedbal

Hello Angela,

I have upgraded the submission with a newer code. Try it out.

I am not sure I understand your question. Say you have 2 channels (FITC & PE) and 3 parameters per channel (Area, Maximum, Width).
TEXT.PnN = {'FITC', 'PE'};

writeFCS(fname, DATA, TEXT)
should work. Please correct me if it does not give you the desired outcome.

If you ran into a bug, feel free to use email firstname(dot)lastname
(at)kcl(dot)ac(dot)uk and I will try to fix it. I am sure the code is buggy and requires refinement.

Comment only
04 Jun 2015 Angela Pisco

Hi Jakub,

thanks for sharing this! Would you be able to give me an example of how to write the text structure?

I've a time course experiments and I'd like to be able to add custom names to the channel ids.


12 Jul 2013 1.1

Added a README file. Updated submission picture to white background.

05 Jun 2015 1.2

Fixed passing on of TEXT struct without TEXT.BYTEORD field.

Contact us