cluster cells using a NN-network and the Louvain algorithm from the multinet package in R.
.doLouvainCluster_multinet(
gobject,
spat_unit = NULL,
feat_type = NULL,
name = "louvain_clus",
nn_network_to_use = "sNN",
network_name = "sNN.pca",
gamma = 1,
omega = 1,
return_gobject = TRUE,
set_seed = FALSE,
seed_number = 1234
)
giotto object
spatial unit (e.g. "cell")
feature type (e.g. "rna", "dna", "protein")
name for cluster, default to "louvain_clus"
type of NN network to use (kNN vs sNN), default to "sNN"
name of NN network to use, default to "sNN.pca"
Resolution parameter for modularity in the generalized louvain method. default = 1
Inter-layer weight parameter in the generalized louvain method. default = 1
boolean: return giotto object (default = TRUE)
set seed (default = FALSE)
number for seed
giotto object with new clusters appended to cell metadata
See glouvain_ml
from the multinet package
in R for more information.