singlepp
A C++ library for cell type classification
Loading...
Searching...
No Matches
singlepp::TrainedIntegrated< Index_ > Class Template Reference

Classifier that integrates multiple reference datasets. More...

#include <train_integrated.hpp>

Public Member Functions

std::size_t num_references () const
 
Index_ test_nrow () const
 
const std::vector< Index_ > & subset () const
 
std::size_t num_labels (std::size_t r) const
 
std::size_t num_profiles (std::size_t r) const
 

Detailed Description

template<typename Index_>
class singlepp::TrainedIntegrated< Index_ >

Classifier that integrates multiple reference datasets.

Template Parameters
Index_Integer type for the row/column indices of the matrix.

Member Function Documentation

◆ num_labels()

template<typename Index_ >
std::size_t singlepp::TrainedIntegrated< Index_ >::num_labels ( std::size_t r) const
inline
Parameters
rReference dataset of interest.
Returns
Number of labels in this reference.

◆ num_profiles()

template<typename Index_ >
std::size_t singlepp::TrainedIntegrated< Index_ >::num_profiles ( std::size_t r) const
inline
Parameters
rReference dataset of interest.
Returns
Number of profiles in this reference.

◆ num_references()

template<typename Index_ >
std::size_t singlepp::TrainedIntegrated< Index_ >::num_references ( ) const
inline
Returns
Number of reference datasets.

◆ subset()

template<typename Index_ >
const std::vector< Index_ > & singlepp::TrainedIntegrated< Index_ >::subset ( ) const
inline
Returns
The subset of genes in the test dataset to be used for classification. Each value is a row index into the test matrix. Values are sorted and unique.

◆ test_nrow()

template<typename Index_ >
Index_ singlepp::TrainedIntegrated< Index_ >::test_nrow ( ) const
inline
Returns
Number of rows that should be present in the test dataset.

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