1#ifndef SCRAN_CLUSTER_WALKTRAP_HPP
2#define SCRAN_CLUSTER_WALKTRAP_HPP
7#include "raiigraph/raiigraph.hpp"
82 auto membership =
output.membership.get();
Graph-based clustering of single-cell data.
Definition build_snn_graph.hpp:20
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
void cluster_walktrap(const igraph_t *graph, const igraph_vector_t *weights, const ClusterWalktrapOptions &options, ClusterWalktrapResults &output)
Definition cluster_walktrap.hpp:81
Options for cluster_walktrap().
Definition cluster_walktrap.hpp:20
int steps
Definition cluster_walktrap.hpp:25
bool report_merges
Definition cluster_walktrap.hpp:30
bool report_modularity
Definition cluster_walktrap.hpp:35
Result of cluster_walktrap().
Definition cluster_walktrap.hpp:41
raiigraph::IntegerVector membership
Definition cluster_walktrap.hpp:51
int status
Definition cluster_walktrap.hpp:46
raiigraph::IntegerMatrix merges
Definition cluster_walktrap.hpp:60
raiigraph::RealVector modularity
Definition cluster_walktrap.hpp:67