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

Classify cells in a test dataset based a single reference. More...

Go to the source code of this file.

Classes

struct  singlepp::ClassifySingleOptions< Float_ >
 Options for classify_single() and friends. More...
 
struct  singlepp::ClassifySingleBuffers< Label_, Float_ >
 Output buffers for classify_single(). More...
 
struct  singlepp::ClassifySingleResults< Label_, Float_ >
 Results of classify_single() and classify_single_intersect(). More...
 

Namespaces

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

Functions

template<typename Value_ , typename Index_ , typename Float_ , typename Label_ >
void singlepp::classify_single (const tatami::Matrix< Value_, Index_ > &test, const TrainedSingle< Index_, Float_ > &trained, const ClassifySingleBuffers< Label_, Float_ > &buffers, const ClassifySingleOptions< Float_ > &options)
 Implements the SingleR algorithm for automated annotation of single-cell RNA-seq data.
 
template<typename Value_ , typename Index_ , typename Float_ , typename Label_ >
void singlepp::classify_single_intersect (const tatami::Matrix< Value_, Index_ > &test, const TrainedSingleIntersect< Index_, Float_ > &trained, const ClassifySingleBuffers< Label_, Float_ > &buffers, const ClassifySingleOptions< Float_ > &options)
 
template<typename Label_ = DefaultLabel, typename Value_ , typename Index_ , typename Float_ >
ClassifySingleResults< Label_, Float_singlepp::classify_single (const tatami::Matrix< Value_, Index_ > &test, const TrainedSingle< Index_, Float_ > &trained, const ClassifySingleOptions< Float_ > &options)
 
template<typename Label_ = DefaultLabel, typename Value_ , typename Index_ , typename Float_ >
ClassifySingleResults< Label_, Float_singlepp::classify_single_intersect (const tatami::Matrix< Value_, Index_ > &test, const TrainedSingleIntersect< Index_, Float_ > &trained, const ClassifySingleOptions< Float_ > &options)
 

Detailed Description

Classify cells in a test dataset based a single reference.