Perform co-localization test statistics.
roi_test(img, ind = c(1, 2), type = "pcc")
numericobject of length two. For the channel indexes. or a
listof similar vectors for each of
charactervector of the desired co-localization statistics. Default is 'pcc', other inputs are 'moc' or 'both'.
The co-localization stats requested in
type is returned as
a column for each. When different labels are provided, the stats are
calculated for each label individually. When is
img is a
list of such
data.frames is returned