Permutation Test for cross-type nearest neighbor distances
testColoc(
im1,
im2,
hres = 0.102381,
vres = 0.25,
B = 999,
alternative = "less",
returnSample = TRUE,
...
)
image stack as returned by preprocessing
image stack as returned by preprocessing
horizontal resolution of the stacks
vertical resolution of the stacks
number of permutations to generate
alternative hypothesis ("less" to test H0:Colocalization )
return sampled null distribution
additional arguments for papply
a list with the p.value, the observed weighted mean of the cNN-distances