singlepp
A C++ library for cell type classification
|
Train a classifier from a single reference. More...
Go to the source code of this file.
Classes | |
struct | singlepp::TrainSingleOptions< Index_, Float_, Matrix_ > |
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_ , class Matrix_ > | |
TrainedSingle< Index_, Float_ > | singlepp::train_single (const tatami::Matrix< Value_, Index_ > &ref, const Label_ *labels, Markers< Index_ > markers, const TrainSingleOptions< Index_, Float_, Matrix_ > &options) |
template<typename Index_ , typename Value_ , typename Label_ , typename Float_ > | |
TrainedSingleIntersect< Index_, Float_ > | singlepp::train_single_intersect (Index_ test_nrow, 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_ , class Matrix_ > | |
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_, Matrix_ > &options) |
Train a classifier from a single reference.