Skip to main content
. 2017 Mar 13;6:e22323. doi: 10.7554/eLife.22323

Appendix 3—figure 1. Simulating co-localization.

Appendix 3—figure 1.

(A) Simulation. We use the distributions X=N(μx=0.5,σx),Z=N(μζ=1,σζ), where X is truncated to [0,1]. Pairs of coupled variables are constructed by drawing sample pairs (xi,ζi) and constructing yi=xi,ζi (Materials and methods). (B) Simulated joint distributions. Shown are the joint distributions of 4 simulations with increased global bias (i.e., decreased μζ). (C) Local and global indices calculated for the examples from panel B. Smaller ζi associate with larger LI. The weaker negative association between GI and σζ is because larger σζinduces a distribution Y that is more spread compared to X which reduces the GI. (D) Simulations of partial co-localization. A given fraction of observations for Y were calculated as shown in panels A–C, the rest were independently drawn from the distribution X implying no local interaction. Shown are LI (top) and GI (bottom) as functions of the fraction of locally interacting observations and σζ. LI associates with increased fraction of locally-interacting observations, whereas the effect is minor in GI, in accordance with panel C. (E) Deviation of LI, GI values reported in panel C as functions of the number of observations n. 20 independent sub-sampling. Lower n associates with higher variability. No other trend is observed. (F) LI and GI patterns are independent of the number of alignment histogram bins K = 10–40. Equal size of dynamic ranges was set for LI and GI plots in panels C, D and F. K, number of histogram bins was set to 40 for all panels excluding F. σx = 0.2 for panels B–E.

DOI: http://dx.doi.org/10.7554/eLife.22323.016