ImageJ and R scripts used in the analysis of foci formation during NF-kB nuclear translocation in B-cells.
Keywords: fluorescence microscopy, transcriptional regulation, transcription factor, NF-κB
ImageJ macro is available within the ijmacro
directory. Detailed parameters of the ImageJ macro is explained in the pdf file located in the same directory.
Example raw data and ImageJ macro outputs are supplied within the rawdata
and imagej_output
directories respectively.
- Download the following ImageJ macro: link
- Open raw files using FIJI.
- Open
focicount.ijm
within theijmacro.zip
using FIJI. - Edit the following parameters on the macro window for foci counting.
diameterROI
: Diameter of the foci in pixel (default = 6)FMaxNoise
: Noise threshold under find maxima (default = 6000)diameterCell
: Diameter of the cells in pixel (default = 60)DotsMax
: Threshold for final foci counting from sharpened image (default = 10000)
- Run macro (ctrl + R).
- Specify output directory (preferably inside
imagej_output
directory). - Remove unwanted cells using mouse click.
- Click OK and Continue to export the result files to the specified directory.
- Install package
Requirements:
-
shiny
-
ggplot2
-
dplyr
devtools::install_github("johannesnicolaus/findfoci")
-
Run the following commands to summarize the number of foci within each cell and save the resulting data frame as
results.csv
to the current directory. Specify dose unit and time unit according to the file name.findfoci::count_foci("DIRECTORY_OF_IMAGEJ_OUTPUT", dose = "ugml", time = "min") write.csv("results.csv")
-
Run the Shiny app for data visualization.
findfoci::heatscatter()
-
Using Shiny app interface, click the button browse and browse for the
results.csv
file. -
Change different visualization parameters using the user interface of the Shiny app.
- Data summarisation: choose how to summarize data for the line plot. (Default: median)
- Jitter width : specifies the width of the jitter plot.
- Data transformation method: choose how to transform the data for easier visualization. (Default: log2(n+1))
- Plot title
- Plot, X axis, and Y axis title
- Y axis range
- Johannes Nicolaus Wibisana - ImageJ Macro improvements, R package
- Takehiko Inaba - ImageJ Macro
This project is licensed under the MIT License - see the LICENSE.md file for details
- Yasushi Sako (Cellular Informatics Laboratory, RIKEN) for discussions and improvements to the analysis.