scran_graph_cluster
Graph-based clustering of cells
|
Results of SNN graph construction. More...
#include <build_snn_graph.hpp>
Public Attributes | |
size_t | num_cells |
std::vector< Node_ > | edges |
std::vector< Weight_ > | weights |
Results of SNN graph construction.
Node_ | Integer type for the node indices. |
Weight_ | Floating-point type for the edge weights. |
size_t scran_graph_cluster::BuildSnnGraphResults< Node_, Weight_ >::num_cells |
Number of cells in the dataset.
std::vector<Node_> scran_graph_cluster::BuildSnnGraphResults< Node_, Weight_ >::edges |
Vector of paired indices defining the edges between cells. The number of edges is half the length of edges
, where edges[2*i]
and edges[2*i+1]
define the vertices for edge i
.
std::vector<Weight_> scran_graph_cluster::BuildSnnGraphResults< Node_, Weight_ >::weights |
Vector of weights for the edges. This is of length equal to the number of edges, where each weights[i]
corresponds to an edge i
in edges
.