Skip to content, Skip to search

Changes

Coloc 2

1 byte removed, 19:32, 12 August 2015
How to use Coloc 2: numbered list
= How to use Coloc 2 =
* # Read the original papers describing the analysis you are about to perform.** ## Don't treat this tool as a black box - try to understand what the strengths and limitations are and what the results could mean. ***###[http://en.wikipedia.org/wiki/Pearson_product-moment_correlation_coefficient Pearson]***###[[Media:Manders.pdf|Manders paper]]***###[[Media:Costes_etalColoc.pdf|Costes paper]]***###[[Media:LietAlColoc.pdf|Li paper]]* # Open images to analyze. ** ## You need a 2 color channel image. If the image has more than 2 channels, identify the two you want to analyze with each other, then split the channels into separate images (Image- Color - Split Channels)** ## Z stacks work fine. But time series will fail until that is fixed. For now, please split the time series into a numbered set of images and analyse those one by one. See https://github.com/fiji/Colocalisation_Analysis/issues/6 * # You probably want to only analyze only some region of interest (ROI), there are 2 ways to do that:** ## Select a region of interest with one of the ImageJ selection tools, in one of the images. *** ### If the image is a z stack, then the ROI applies in all "slices" of the stack. **##You can have a third "binary mask" image, with the same x,y,z dimensions as the 2 images to be analyzed:*** ### where the mask image is white (255 pixel value for an 8 bit greyscale image) colocalization will be analyzed for those pixels only. Where it is black (zero pixel value), the pixels will be ignored: not included in the analysis. *** ### you can use a z stack as a 3D mask... it's up to you how you make that mask image, manually or by some automated method. *# Launch the Coloc 2 plugin from the menu item: Analyze - Colocalization Analysis - Coloc 2 ** ## or use the command finder: press L then start typing Coloc, then choose the plugin with the arrow keys and hit enter, or double mouse click it to launch the plugin. * # In the plugin's graphical user interface (GUI) choose the 2 images you want to analyze in the first 2 drop down lists.** ## Select the images according to which you want to be channel 1 and which to be channel 2. ** ## In the third drop down list selection, select the image/channel you want to use that has the correct ROI or mask image*** ### remember: the mask image - it must have the same xyz dimensions (number of pixels and slices) as the other 2 images. * # Choose which "Algorithms" are run and which statistics you wish to calculate, and if you want to save the "standardized" PDF result file, when the OK button is pressed.** ## Numerical results and image names are dumped into the ImageJ Log window as comma separated values, so you can copy paste, or save the log window contents, to then import them into whatever statistical package or spreadsheet you will need to analyse the results in. ** ## Turn the options on and off by clicking the selection button at the left of the Algorithm description** ## Also choose the approximate size of the point spread function (PSF) in your images, and the number of iterations to run the Costes statistical significance test (We suggest a large number... the larger the number the longer the analysis will take. Do, at the very very least, 10 iterations (100 would be better).*** ### You should know approximately how big the PSF is (in pixels) in your images. **** ### If you don't, go back and read about: What is the PSF and why it's important in colocalization analysis (for instance read the [[Media:Costes_etalColoc.pdf|Costes paper]] )**** ### This size determines what size of image chunks are shuffled in the randomization process. PSF sized image pieces make physical sense, as that's the size of the smallest features visible in the image. * # Click OK to run the analysis.* the # The results gui will open showing a table of numbers and one of several images** ## the images can be chosen on the Dropdown list. ** ## You can see the 2 Li plots, a scatterplot or 2D histogram with regression line, and input images and Roi.** ## the log checkbox allows display of images with or without log scaling, useful for eg. the scatterplot* # You will be asked if you want to save the results as a PDF file (if the "Show Save PDF dialog" button was checked. So tell it where to save the PDF. This is standard output format, so you can compare with your friends, same vs. same.** ## Feel free to tell us what things you think should be included in this standardized PDF output file and how it should be formatted. HTML? XML? Plain text?
= Pitfalls of the Manders and Costes methods =