testColoc | R Documentation |
Permutation Test for cross-type nearest neighbor distances
testColoc( im1, im2, hres = 0.102381, vres = 0.25, B = 999, alternative = "less", returnSample = TRUE, ... )
im1 |
image stack as returned by preprocessing |
im2 |
image stack as returned by preprocessing |
hres |
horizontal resolution of the stacks |
vres |
vertical resolution of the stacks |
B |
number of permutations to generate |
alternative |
alternative hypothesis ("less" to test H0:Colocalization ) |
returnSample |
return sampled null distribution |
... |
additional arguments for papply |
a list with the p.value, the observed weighted mean of the cNN-distances
Fabian Scheipl
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.