Colocalization metrics
In this example, we demonstrate the use of different metrics to assess the colocalization of two different image channels.
Colocalization can be split into two different concepts: 1. Co-occurence: What proportion of a substance is localized to a particular area? 2. Correlation: What is the relationship in intensity between two substances?
Co-occurence: subcellular localization
Imagine that we are trying to determine the subcellular localization of a protein - is it located more in the nucleus or cytoplasm compared to a control?
We begin by segmenting the nucleus of a sample image as described in another example and assume that whatever is not in the nucleus is in the cytoplasm. The protein, “protein A”, will be simulated as blobs and segmented.
import matplotlib.pyplot as plt
import numpy


