1#ifndef SCRAN_CLUSTER_MULTILEVEL_HPP
2#define SCRAN_CLUSTER_MULTILEVEL_HPP
7#include "raiigraph/raiigraph.hpp"
89 auto membership =
output.membership.get();
Graph-based clustering of single-cell data.
Definition build_snn_graph.hpp:20
void cluster_multilevel(const igraph_t *graph, const igraph_vector_t *weights, const ClusterMultilevelOptions &options, ClusterMultilevelResults &output)
Definition cluster_multilevel.hpp:85
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_multilevel().
Definition cluster_multilevel.hpp:20
bool report_modularity
Definition cluster_multilevel.hpp:40
int seed
Definition cluster_multilevel.hpp:30
bool report_levels
Definition cluster_multilevel.hpp:35
double resolution
Definition cluster_multilevel.hpp:25
Result of cluster_multilevel().
Definition cluster_multilevel.hpp:46
int status
Definition cluster_multilevel.hpp:51
raiigraph::RealVector modularity
Definition cluster_multilevel.hpp:71
raiigraph::IntegerVector membership
Definition cluster_multilevel.hpp:57
raiigraph::IntegerMatrix levels
Definition cluster_multilevel.hpp:64