Demonstration of how to analyze the total fluorescent dot expression of the delineated green fluorescent Oprk1 dot images.
- We have created custom MATLAB scrips to visualize, analyze and quantify fluorescent dot expression from RNAscope stained tissue
If using this code or dataset, please cite:
Krogsbaek M, Larsen NY, Landau A, Sanchez C, Lin J and Nyengaard JR. "Spatial quantification of single cell mRNA and ligand binding of the kappa opioid receptor in rat hypothalamus".
Note the paper is not published yet.
Before starting, you will need the following:
- Install MATLAB.
- Install Signal processing toolbox before running the code.
In this repository, we demonstrate how to analyze tissue from the hypothalamus of a rat that has been stained with RNAscope. The code is generic and be used on any tissue to detect fluorescent dot expression. Two images are included in this demonstration and are located in the Images folder.
- Both MATLAB files (PipelineDotExpression.m and analyzeDotExpressionFnc.m) should be placed just outside the Images folder before running the code.
- pipelineDotExpression.m is the main file and you need to specify the image resolution in pixels/µm and set an Area (µm^2) threshold for determining when to count two expressions instead of one.
- In our case the values are set to be 6.2 pixels/µm and 16 µm^2 based on pipeline optimization images
- When the code is executed, images (Number Count, Overlay and Superimposed) and an Excel file that counts the number of dot expressions for each image will be exported.
In this example, the code is being used on the image "Brain 03 OPRK1, sect 10, L5 x 63 left hypo SI." The output that we can see is from a zoomed-in region inside the red frame.
Image is magnified inside the red frame.
Output of the overlay image.
In the overlay image, the background is a grayscale image, and red lines are used to highlight the boundaries of each fluorescence dot expression.
Fluorescence dot expression has been quantitatively counted.
Notice: White circles have been used to highlight areas that are greater than 16 µm^2, and these areas count as 2 dot expressions instead of 1 dot expression.
If you have any questions or suggestions, you can reach Nick via e-mail at [email protected] or Maiken via e-mail at [email protected].