This ImageJ macro allows the user to left mouse-click on a ROI name in the image. This will delete the ROI from the image, the ROI manager and the results table. For this to work the results table has to be created using the Multi Measure option (deselect "One Row Per Slice") from the ROI Managers menu with "Display label" selected in Set Measurements (Analyze > Set Measurements).
Select the file "DeleteSelected_ROI2.txt" and select "Raw" from the right side menu. Select all the code and copy and paste this into the text editor from ImageJ/Fiji (File > New > Text Window). Alternatively, you can download all files via the green "Code" button as a ZIP file and extract the macro file. Save this file in your macros sub-folder within the ImageJ or Fiji folder with the name DeleteSelected_ROI2.txt.
All the macros published on this repository can be used at your own risk. Although I did my best to ensure that they run as intended, there may be bugs, not expected use or changes to the ImageJ code that results in unexpected behaviour. If you notice a problem with any of the macros please let me know and I can try to solve the problem.
Robinson BP, Bass NR, Bhakt P, Spiliotis ET (2024) Septin-coated microtubules promote maturation of multivesicular bodies by inhibiting their motility. J Cell Biol. 223(8):e202308049. doi: 10.1083/jcb.202308049.
Ilona A. Kesisova, Benjamin P. Robinson, Elias T. Spiliotis (2021) A septin GTPase scaffold of dynein–dynactin motors triggers retrograde lysosome transport. J Cell Biol 220: e202005219.