Perform Jaccard/Leiden clustering

jaccard_leiden(
  dat,
  k = 10,
  weight = NULL,
  num_iter = 2,
  resolution_parameter = 1e-04,
  random_seed = NULL,
  verbose = FALSE,
  ...
)

Arguments

dat

A matrix of samples (rows) x features (columns)

k

K nearest neighbors to use

num_iter

If n_iter < 0 the optimiser continues iterating until it encounters an iteration that did not improve the partition.

Value

A list object with the cluster factor object and (cl) and Jaccard/Leiden results (result)