scran
C++ library for basic single-cell RNA-seq analyses
|
Results of SNN graph construction. More...
#include <BuildSnnGraph.hpp>
Public Attributes | |
size_t | ncells |
std::vector< int > | edges |
std::vector< double > | weights |
Results of SNN graph construction.
Edges and weights are stored using igraph data types in preparation for community detection.
size_t scran::BuildSnnGraph::Results::ncells |
Number of cells in the dataset.
std::vector<int> scran::BuildSnnGraph::Results::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<double> scran::BuildSnnGraph::Results::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
.