scran_graph_cluster
Graph-based clustering of cells
|
Result of cluster_multilevel()
.
More...
#include <cluster_multilevel.hpp>
Public Attributes | |
int | status = 0 |
raiigraph::IntegerVector | membership |
raiigraph::IntegerMatrix | levels |
raiigraph::RealVector | modularity |
Result of cluster_multilevel()
.
int scran_graph_cluster::ClusterMultilevelResults::status = 0 |
Output status. A value of zero indicates that the algorithm completed successfully.
raiigraph::IntegerVector scran_graph_cluster::ClusterMultilevelResults::membership |
Vector of length equal to the number of cells, containing 0-indexed cluster identities. This is the same as the row of levels
with the maximum modularity
.
raiigraph::IntegerMatrix scran_graph_cluster::ClusterMultilevelResults::levels |
Matrix of clusterings for each level. Each row corresponds to a level and contains 0-indexed cluster identities for all cells (columns). This should only be used if ClusterMultilevelOptions::report_levels = true
.
raiigraph::RealVector scran_graph_cluster::ClusterMultilevelResults::modularity |
Modularity scores at each level. This is of the same length as the number of rows in levels
. It should only be used if ClusterMultilevelOptions::report_modularity = true
.