1#ifndef SCRAN_GRAPH_CLUSTER_CLUSTER_LEIDEN_HPP
2#define SCRAN_GRAPH_CLUSTER_CLUSTER_LEIDEN_HPP
7#include "raiigraph/raiigraph.hpp"
93 auto membership =
output.membership.get();
Graph-based clustering of single-cell data.
Definition build_snn_graph.hpp:20
void cluster_leiden(const igraph_t *graph, const igraph_vector_t *weights, const ClusterLeidenOptions &options, ClusterLeidenResults &output)
Definition cluster_leiden.hpp:92
void build_snn_graph(size_t num_cells, GetNeighbors_ get_neighbors, GetIndex_ get_index, const BuildSnnGraphOptions &options, BuildSnnGraphResults< Node_, Weight_ > &output)
Definition build_snn_graph.hpp:133
Options for cluster_leiden().
Definition cluster_leiden.hpp:20
int seed
Definition cluster_leiden.hpp:56
bool modularity
Definition cluster_leiden.hpp:46
double beta
Definition cluster_leiden.hpp:32
double resolution
Definition cluster_leiden.hpp:26
bool report_quality
Definition cluster_leiden.hpp:51
int iterations
Definition cluster_leiden.hpp:39
Result of cluster_leiden().
Definition cluster_leiden.hpp:62
int status
Definition cluster_leiden.hpp:67
igraph_real_t quality
Definition cluster_leiden.hpp:78
raiigraph::IntegerVector membership
Definition cluster_leiden.hpp:72