Quiz: neighbours, parents and children

Short questions to test your understanding. Try each on paper first, then open the answer.


Q1. Two papers report “4.9 neighbours per cell” and “1.2 neighbours per cell” for the same kind of tissue. Name a reason other than biology.

How was “neighbour” defined?

Different definitions: “expand until adjacent” (a Voronoi tessellation, about 5–6 inside a dense pattern) against “the segmented cells touch” (depends on how far the cell bodies were grown). In the demo the same 40 cells give 4.90 and 1.15. Connectivity (4 or 8), a distance r, and the border rule change the number too.


Q2. Why does “expand until adjacent” give every isolated cell at least one neighbour?

What happens to the background pixels?

Every background pixel is given to the nearest object, so the regions fill the whole image and every region borders some other region (unless there is only one object). Distance plays no role: two cells 200 µm apart are neighbours if nothing lies between them.


Q3. A pattern of cells has Clark–Evans ratio R = 0.6. What does that mean? And R = 1.8?

R = observed mean nearest-neighbour distance / that of a random pattern of the same density.

R = 0.6: nearest neighbours are on average 40 % closer than in a random pattern: the cells are clustered. R = 1.8: they are further apart than random: a regular pattern (cells keep their distance, as in an epithelium). Small deviations from 1 can come from the objects’ size (they cannot overlap) and from the image border.


Q4. Why do objects at the image border have fewer neighbours, and why is removing them not a good fix?

What happens to the objects next to the removed ones?

Part of their surroundings lies outside the image, so their neighbours there are not seen. Removing them makes their inner neighbours the new outer layer, which now misses neighbours instead. A guard zone fixes it: measure only objects away from the border, but let every object count as a neighbour.


Q5. A curved spot wraps around the edge of a nucleus; most of its pixels are inside. Which parent does it get by largest overlap, and by centroid?

Where is the centroid of a crescent?

By overlap: the nucleus. By centroid: possibly none, because the centroid of a crescent lies in the hollow of the curve, which may be outside the nucleus. The overlap rule (with the overlap fraction recorded) is the safer choice for irregular children.


Q6. With nuclei as parents, 10 % of the spots have no parent; with whole cells as parents, none. Which number do you report as “spots per cell”?

Where are the spots without a nucleus?

They are in the cytoplasm. If the question is about the cell, use cells as parents (all spots count); if it is about the nucleus, use nuclei and report the cytoplasmic spots separately. Silently dropping children without a parent biases the counts.


Q7. (math) For random points with density \rho = 0.01 per µm², what mean nearest-neighbour distance do you expect? A sample has mean 8 µm: what is R?

E[D] = 1/(2\sqrt\rho).

E[D] = 1/(2 \cdot 0.1) = 5 µm. R = 8/5 = 1.6: regular.


Q8. (math) Why is the mean number of Voronoi neighbours of points in the plane below 6?

The neighbour graph is planar; use Euler’s formula.

The neighbour graph (the Delaunay triangulation) is planar. With V vertices, E edges and F faces, V - E + F = 2 and 3F \le 2E give E \le 3V - 6, so the mean degree 2E/V \le 6 - 12/V < 6. Far from the border it approaches 6.