Skip to content
Processing and analysys for Cyclic Immunofluorescence (CycIF) microscopy images
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
ImageJ_scripts_2019 A3&A4 scripts: processing & quantify Ashlar tiff May 5, 2019
Matlab_scripts_2019 Matlab scripts updates Mar 22, 2019
2_Macro-imagereg-forRareCyte.ijm tCYCIF scripts Jun 7, 2017
CycIF_96wellplate_generate_table.m Plate-based CycIF scripts Jun 27, 2017
CycIF_generatelabels.m Matlab script for generating labels Aug 16, 2017
CycIF_importcsv.m tCYCIF scripts Jun 7, 2017
CycIF_read96wellplate.m Big fix (Y position) Mar 15, 2019
CycIF_readtable.m tCYCIF scripts Jun 7, 2017
CycIF_readwholeslide.m fix bugs Aug 16, 2017
CycIF_rename_rcpnl.m Rename files Jun 7, 2017
LICENSE Create license May 5, 2018


ImageJ & Matlab scripts for processing t-CyCIF files.

Key references:

1. Highly multiplexed imaging of single cells using a high-throughput cyclic immunofluorescence method
JR Lin, M Fallahi-Sichani, PK Sorger - Nature communications, 2015

2. Highly multiplexed immunofluorescence imaging of human tissues and tumors using t-CyCIF and conventional optical microscopes
JR Lin, B Izar, S Mei, S Wang, P Shah, C Yapp… - eLife, 2018 in press

This work was funded by NIH/NIGMS LSP grant P50-GM107618,NIH LINCS grant U54-HL127365, and NIH STTR grant R41-CA224503.
System requirement:  

ImageJ 1.49j or above
Matlab 2015a or above

Third-Party plugin & software:

For ImageJ/Fiji::

For Matlab::
Cyt package:


Step 0:  Rearrange your image files (rpcnl files) to one folder, and rename file to Cycle0.rpcnl…CycleX.rpcnl, or use the Matlab rename script we provided (CycIF_rename_rcpnl.m).

Step 1: Save induvial frame from different cycles:  Run ImageJ macro 1_Macro-SAVEALLCYCLES.ijm. 

Step 2: Registration:  Run ImageJ macro 2_Macro-imagereg-forRareCyte.ijm.

Step 3: Segmentation & quantification: Run ImageJ macro 3_Macro-CycIF-wholeSlidequan.ijm

Step 4: Import data files to Matlab:  Generate a cell array with labels for each channels (plus four additional readings: 'AREA', 'CIRC', 'X','Y'.   Then run Matlab script CycIF_readwholeslide.m

Step 5. Using "writetable" function to generate CSV files, then you can import & analyze in CYT package. 
Sample images:

A set of t-CyCIF sample images could be found here:

8-cycle CyCIF experiment was done with a Breast xenograft sample.  Each rcpnl file contains 7x6 grids with 4-ch images.  
You can’t perform that action at this time.