This is the cyclic immunofluorescence (CycIF) workflow developed my Megan Grout for Dr. Gordon Mills' lab at OHSU, originally written fall 2019. It is based upon data analysis code originally written by Dr. Marilyne Labrie and Nicholas Kendsersky. The purpose is to facilitate visualization and interaction with CycIF data in a highly customizable and modularized way. Balance is struck between convenient automation and easy customization, with extensive commenting and code snippet examples. The majority of the workflow is coded in Python. The library pandas
was chosen for computationally efficient data processing. The two R Shiny apps, filtering_app.R
and PCA_apps.R
, were developed to allow for easy interaction with data at key locations in the workflow. Custom functions in cyclic_modules.py
allow for encapsulation of repeated code blocks, which makes the notebooks visually cleaner and easier for the user to interface with.
The workflow is composed of four Python Jupyter Notebooks and two R Shiny apps. The Python code uses custom modules, found in cyclic_modules.py
. The Python Jupyter Notebooks should be used with a Python 3 kernel. The R Shiny apps may be used at key points in the workflow, to help the user evaluate data integrity and determine the best parameters with which to proceed. They should be executed in order:
qc_eda.ipynb
BS.ipynb
withfiltering_app.R
andPCA_app.R
log2_z-score.ipynb
KMeans.ipynb
Please note that the R Shiny apps are less flexible than the Python code in terms of required input data location, structure, and labeling.
Please see LICENSE file.