Skip to content

Commit c38e706

Browse files
committed
Update SACA example URLs and add coloc values
1 parent 6f647e4 commit c38e706

File tree

1 file changed

+14
-8
lines changed

1 file changed

+14
-8
lines changed

docs/ops/doc/examples/saca.rst

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Pearson's :sup:`4` and Li's :sup:`5` colocalization quotients.
1919

2020
You can download the colocalization dataset `here`_.
2121

22-
.. figure:: https://media.imagej.net/scijava-ops/1.0.0/saca_input.png
22+
.. figure:: https://media.scijava.org/scijava-ops/1.0.0/saca_input.png
2323

2424
SciJava Ops via Fiji's scripting engine with `script parameters`_:
2525

@@ -66,7 +66,7 @@ SciJava Ops via Fiji's scripting engine with `script parameters`_:
6666
li = ops.op("coloc.icq").input(subsample_1, subsample_2).apply()
6767

6868
// print Pearson's and Li's results
69-
print("pearsons: " + pearsons + "\nli: " + li)
69+
print("Pearson's: " + pearsons + "\nLi's: " + li)
7070

7171
.. code-tab:: python
7272

@@ -107,13 +107,19 @@ SciJava Ops via Fiji's scripting engine with `script parameters`_:
107107
li = ops.op("coloc.icq").input(subsample_1, subsample_2).apply()
108108

109109
# print Pearson's and Li's results
110-
print("pearsons: " + str(pearsons))
111-
print("li: " + str(li))
110+
print("Pearson's: " + str(pearsons))
111+
print("Li's: " + str(li))
112112

113-
Once the script completes, three images will be displayed: ``zscore``, ``pvalue`` and ``sig_mask``.
114-
These images are in gray scale.
113+
Once the script completes, three gray scale images will be displayed: ``zscore``, ``pvalue`` and ``sig_mask``.
114+
Additionally the console will print the Pearson's and Li's colocalization coefficients using the significant pixel
115+
mask created from SACA.
115116

116-
.. figure:: https://media.imagej.net/scijava-ops/1.0.0/saca_output_gray.png
117+
.. code-block:: text
118+
119+
Pearson's: 0.65593660643
120+
Li's: 0.211457241276
121+
122+
.. figure:: https://media.scijava.org/scijava-ops/1.0.0/saca_output_gray.png
117123

118124
To apply the ``phase`` LUT and a colorbar use the following script and select the input images.
119125

@@ -149,7 +155,7 @@ To apply the ``phase`` LUT and a colorbar use the following script and select th
149155
IJ.run(zscore_imp, "Calibration Bar...", "location=[Upper Right] fill=White label=Black number=5 decimal=2 font=12 zoom=1.3 overlay")
150156
IJ.run(pvalue_imp, "Calibration Bar...", "location=[Upper Right] fill=White label=Black number=5 decimal=2 font=12 zoom=1.3 overlay")
151157

152-
.. figure:: https://media.imagej.net/scijava-ops/1.0.0/saca_output_color.png
158+
.. figure:: https://media.scijava.org/scijava-ops/1.0.0/saca_output_color.png
153159

154160

155161
| :sup:`1`: `Wang et. al, IEEE 2019`_

0 commit comments

Comments
 (0)