//**************************// // Custom-made script for ImageJ (Part 3) // Multiplex imaging using cumulative microscopy // Akopyan et al. // Department of Cell and Molecular Biology // Karolinska Institutet //*************************// //**************// // 1. This script sould be run after running the Main script (Part 1): "1.Cumulative_IF_Main_Macro-v4.ijm" and adjusting script (Part 2): "2.AdjustingCycles_Macro_v3.ijm" // 2. This script will ask you to choose the directory. // Please, choose the Directory that conatns folders Graphs, Log and Tables (created by the Main script) // 3. The script will make FInal table for all data // 4. The max number of Cycles that can be adjusted by this script is 3. For more samples, the script should be modified //************// //**************// // 1. This script is for Image J (FIJI) version V1.53q or later // 2. Open the script in Image J (FIJI) // 3. Run //************// numSamp=1; // Stepnum=1;// Dialog.create("Specify folder with Data"); Dialog.addMessage("Step 1 of 4 \n Please specify the number of the Cycles and the number of the Samples.", 16); Dialog.addNumber("The number of the Cycles", Stepnum, 0, 2,"(How many Cycles should be adjusted)"); Dialog.addMessage("\n", 16); Dialog.addNumber("The number of the Samples", numSamp, 0, 2,""); Dialog.addMessage("\nNext you will be asked to choose MAIN folder where the folders Graphs, Log and Tables (created by the Main script) are located.", 16); Dialog.addMessage("NOTE: The txt data files for every Sample should be in folder named Table (created by the Adjusting script)", 14, "#cc3300"); Dialog.show(); NumOfSteps=Dialog.getNumber(); numSamp=Dialog.getNumber(); dirI=getDirectory("Choose directory with Files! "); // dir=dirI+"Tables"; //*********************** checkForFolder=0 Samp=newArray(numSamp); try=0; while (checkForFolder