Builds diffusion operator from data in one step.
Usage
build_diffusion_operator(
data,
knn = 5,
knn_max = NULL,
decay = 1,
distance = "euclidean",
threshold = 1e-04,
verbose = FALSE
)
Arguments
- data
Matrix (cells x features)
- knn
Number of neighbors
- knn_max
Maximum neighbors
- decay
Alpha decay parameter
- distance
Distance metric
- threshold
Kernel threshold
- verbose
Verbosity level
Value
Row-stochastic diffusion operator