scran
C++ library for basic single-cell RNA-seq analyses
Loading...
Searching...
No Matches
Public Attributes | List of all members
scran::ClusterSnnGraphLeiden::Results Struct Reference

Result of the igraph leiden community detection algorithm. More...

#include <ClusterSnnGraph.hpp>

Public Attributes

int status = 0
 
std::vector< int > membership
 
double quality = 0
 

Detailed Description

Result of the igraph leiden community detection algorithm.

Instances should be constructed using the ClusterSnnGraphLeiden::run() methods.

Member Data Documentation

◆ status

int scran::ClusterSnnGraphLeiden::Results::status = 0

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

◆ membership

std::vector<int> scran::ClusterSnnGraphLeiden::Results::membership

Vector of length equal to the number of cells, containing 0-indexed cluster identities.

◆ quality

double scran::ClusterSnnGraphLeiden::Results::quality = 0

Quality of the clustering, closely related to the modularity.


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