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

Results of SNN graph construction. More...

#include <BuildSnnGraph.hpp>

Public Attributes

size_t ncells
 
std::vector< int > edges
 
std::vector< double > weights
 

Detailed Description

Results of SNN graph construction.

Edges and weights are stored using igraph data types in preparation for community detection.

Member Data Documentation

◆ ncells

size_t scran::BuildSnnGraph::Results::ncells

Number of cells in the dataset.

◆ edges

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.

◆ weights

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.


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