Scan cellular neighbourhoods.
Usage
scanHoods(
m,
mode = c("proximityFocused", "smoothFadeout"),
tau = NA,
t_init = NA
)
Arguments
- m
Distance matrix. Can be obtained from function findNearCells.
- mode
Character. Either proximityFocused or smoothFadeout. By default is proximityFocused.
- tau
The hyperparameter tau, by default is median(m**2)/5
- t_init
An initial tau. In the smoothFadeout mode, user can provide an initial tau for optimization.