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

Output buffers for classify_single(). More...

#include <classify_integrated.hpp>

Public Attributes

RefLabel_best
 
std::vector< Float_ * > scores
 
Float_delta
 

Detailed Description

template<typename RefLabel_ = DefaultRefLabel, typename Float_ = DefaultFloat>
struct singlepp::ClassifyIntegratedBuffers< RefLabel_, Float_ >

Output buffers for classify_single().

Template Parameters
RefLabel_Integer type for the label to represent each reference.
Float_Floating-point type for the correlations and scores.

Member Data Documentation

◆ best

template<typename RefLabel_ = DefaultRefLabel, typename Float_ = DefaultFloat>
RefLabel_* singlepp::ClassifyIntegratedBuffers< RefLabel_, Float_ >::best

Pointer to an array of length equal to the number of test cells. On output, this is filled with the index of the assigned label for each cell.

◆ delta

template<typename RefLabel_ = DefaultRefLabel, typename Float_ = DefaultFloat>
Float_* singlepp::ClassifyIntegratedBuffers< RefLabel_, Float_ >::delta

Pointer to an array of length equal to the number of test cells. On output, this is filled with the difference between the highest and second-highest scores, possibly after fine-tuning. This may also be NULL in which case the deltas are not reported.

◆ scores

template<typename RefLabel_ = DefaultRefLabel, typename Float_ = DefaultFloat>
std::vector<Float_*> singlepp::ClassifyIntegratedBuffers< RefLabel_, Float_ >::scores

Vector of length equal to the number of labels. Each entry contains a pointer to an array of length equal to the number of test cells. On output, this is filled with the (non-fine-tuned) score for each label for each cell. Any pointer may be NULL in which case the scores for that label will not be reported.


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