singlepp
A C++ library for cell type classification
Loading...
Searching...
No Matches
Classes | Namespaces | Functions
train_single.hpp File Reference

Train a classifier from a single reference. More...

Go to the source code of this file.

Classes

struct  singlepp::TrainSingleOptions< Index_, Float_ >
 Options for train_single() and friends. More...
 
class  singlepp::TrainedSingle< Index_, Float_ >
 Classifier trained from a single reference. More...
 
class  singlepp::TrainedSingleIntersect< Index_, Float_ >
 Classifier built from an intersection of genes. More...
 

Namespaces

namespace  singlepp
 Cell type classification using the SingleR algorithm in C++.
 

Functions

template<typename Value_ , typename Index_ , typename Label_ , typename Float_ >
TrainedSingle< Index_, Float_singlepp::train_single (const tatami::Matrix< Value_, Index_ > &ref, const Label_ *labels, Markers< Index_ > markers, const TrainSingleOptions< Index_, Float_ > &options)
 
template<typename Index_ , typename Value_ , typename Label_ , typename Float_ >
TrainedSingleIntersect< Index_, Float_singlepp::train_single_intersect (const Intersection< Index_ > &intersection, const tatami::Matrix< Value_, Index_ > &ref, const Label_ *labels, Markers< Index_ > markers, const TrainSingleOptions< Index_, Float_ > &options)
 
template<typename Index_ , typename Id_ , typename Value_ , typename Label_ , typename Float_ >
TrainedSingleIntersect< Index_, Float_singlepp::train_single_intersect (Index_ test_nrow, const Id_ *test_id, const tatami::Matrix< Value_, Index_ > &ref, const Id_ *ref_id, const Label_ *labels, Markers< Index_ > markers, const TrainSingleOptions< Index_, Float_ > &options)
 

Detailed Description

Train a classifier from a single reference.