Quiz: colocalisation
Before this unit: Day 46: Colour.
See also: Day 4: Image formation; Day 14: Labelling; Day 16: Measurements; Day 23: FFT registration; Day 47: Spectral unmixing.
Short questions to test your understanding. Try each on paper first, then open the answer.
Q1. A merged green/magenta image shows many white spots. Why is that not enough to claim colocalisation?
What decides how bright each channel looks in the merge?
The colour depends on the display range chosen for each channel, on bleed-through, on misalignment and on resolution: spots can look white because one channel leaks into the other, or because two separate structures lie within one blurred spot. A claim needs coefficients over a defined region, thresholds, and controls.
Q2. Two channels are imaged with different gains and offsets on two days. Which of Pearson’s r and the overlap coefficient can be compared between the days?
Which one subtracts the means?
Pearson’s r: it subtracts the means and divides by the spreads, so offsets and (positive) gains cancel. The overlap coefficient uses the raw values, so a different offset changes it.
Q3. Why does including the dark background around cells raise Pearson’s r, even for independent structures?
Draw the scatter plot with two clusters.
The background pixels form a cluster that is dark in both channels; the cell pixels form one that is brighter in both (diffuse signal, autofluorescence). A line through the two clusters explains much of the variance, so r is high. It measures “both channels are in the cells”, not “the structures overlap”. Measure inside the cells.
Q4. Small vesicles of protein A all lie inside large compartments of protein B, which also contain much else. What do you expect for M1 and M2?
M1: how much of A is where B is.
M1 close to 1 (all of A is inside B), M2 small (most of B has no A). Pearson’s r would be moderate and hide the asymmetry (demo: M1 = 0.79, M2 = 0.32, r = 0.37).
Q5. Someone reports M1 = 0.98 and M2 = 0.97 for two unrelated proteins. What is the most likely mistake?
What is “above threshold” when the threshold is 0?
No (or too low) thresholds: with a background offset and noise, every pixel is above 0 in both channels, so all of A is “where B is” and vice versa. Thresholds above the background (for example Costes’) are essential.
Q6. In a two-channel image one pixel pair is far brighter than all others (a dust particle bright in both channels). Pearson’s r is 0.85; Spearman’s coefficient is −0.40. What happened, and which number describes the rest of the image?
Pearson sums products of deviations from the mean; Spearman uses only the order of the values.
The single bright pair has a huge product (A - \bar A)(B - \bar B) and dominates the sum, so r is high. Spearman sees it only as “the brightest pixel in both channels”, one rank pair among many; the other pixels are anti-correlated (r = -0.51 without the outlier), and Spearman reports that. Remove the artefact (or check the scatter plot) before trusting r. (Grid demo, preset “one bright outlier”.)
Q7. Two papers report Manders’ M1 for the same kind of images: one 0.79, the other 0.48. Both used the same thresholds. How can that be?
What is in the denominator of M1?
There are two definitions. One divides by A’s intensity in pixels above A’s own threshold; the other divides by all of A’s intensity in the region, including the dim background pixels. On images with background the second gives a smaller value (demo, “A inside B”: 0.79 with the own threshold, 0.48 without). A report must say which definition it uses.
Q8. (math) For channels with B = aA + c + \varepsilon (noise \varepsilon independent of A, variance \sigma^2), express r in terms of a, \operatorname{var} A and \sigma^2. What happens when the noise grows?
\operatorname{cov}(A, B) = a \operatorname{var} A, \operatorname{var} B = a^2 \operatorname{var} A + \sigma^2.
r = \dfrac{a\operatorname{var}A}{\sqrt{\operatorname{var}A\,(a^2\operatorname{var}A + \sigma^2)}} = \dfrac{1}{\sqrt{1 + \sigma^2/(a^2 \operatorname{var} A)}} (for a > 0). It falls towards 0 as the noise grows, although the colocalisation is perfect: r mixes colocalisation with signal-to-noise ratio. (Demo: 0.99 at noise σ = 4, 0.88 at σ = 15.)