scran_graph_cluster
Graph-based clustering of cells
Loading...
Searching...
No Matches
Public Attributes | List of all members
scran_graph_cluster::ClusterMultilevelResults Struct Reference

Result of cluster_multilevel(). More...

#include <cluster_multilevel.hpp>

Public Attributes

int status = 0
 
raiigraph::IntegerVector membership
 
raiigraph::IntegerMatrix levels
 
raiigraph::RealVector modularity
 

Detailed Description

Result of cluster_multilevel().

Member Data Documentation

◆ status

int scran_graph_cluster::ClusterMultilevelResults::status = 0

Output status. A value of zero indicates that the algorithm completed successfully.

◆ membership

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.

◆ levels

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.

◆ modularity

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.


The documentation for this struct was generated from the following file: