singlepp
A C++ library for cell type classification
Loading...
Searching...
No Matches
Public Attributes | List of all members
singlepp::ClassifySingleResults< Label_, Float_ > Struct Template Reference

Results of classify_single() and classify_single_intersect(). More...

#include <classify_single.hpp>

Public Attributes

std::vector< Label_best
 
std::vector< std::vector< Float_ > > scores
 
std::vector< Float_delta
 

Detailed Description

template<typename Label_ = DefaultLabel, typename Float_ = DefaultFloat>
struct singlepp::ClassifySingleResults< Label_, Float_ >

Results of classify_single() and classify_single_intersect().

Template Parameters
Label_Integer type for the reference labels.
Float_Floating-point type for the correlations and scores.

Member Data Documentation

◆ best

template<typename Label_ = DefaultLabel, typename Float_ = DefaultFloat>
std::vector<Label_> singlepp::ClassifySingleResults< Label_, Float_ >::best

Vector of length equal to the number of cells in the test dataset, containing the index of the assigned label for each cell.

◆ delta

template<typename Label_ = DefaultLabel, typename Float_ = DefaultFloat>
std::vector<Float_> singlepp::ClassifySingleResults< Label_, Float_ >::delta

Vector of length equal to the number of cells in the test dataset. This contains the difference between the highest and second-highest scores for each cell, possibly after fine-tuning.

◆ scores

template<typename Label_ = DefaultLabel, typename Float_ = DefaultFloat>
std::vector<std::vector<Float_> > singlepp::ClassifySingleResults< Label_, Float_ >::scores

Vector of length equal to the number of labels, containing vectors of length equal to the number of cells in the test dataset. Each vector corresponds to a label and contains the (non-fine-tuned) score for each cell.


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