-
-
452 return internal::train_integrated<Value_, Index_>(
inputs,
options);
-
+
+
+
452template<
typename Value_,
typename Index_,
typename Label_>
+
+
+
454 return internal::train_integrated<Value_, Index_>(
inputs,
options);
+
-
-
465template<
typename Value_,
typename Index_,
typename Label_>
-
-
-
467 return internal::train_integrated<Value_, Index_>(
inputs,
options);
-
-
-
+
+
467template<
typename Value_,
typename Index_,
typename Label_>
+
+
+
469 return internal::train_integrated<Value_, Index_>(
inputs,
options);
+
-
+
+
+
Create an intersection of genes.
-
Classifier that integrates multiple reference datasets.
Definition train_integrated.hpp:214
-
size_t num_labels(size_t r) const
Definition train_integrated.hpp:227
-
size_t num_profiles(size_t r) const
Definition train_integrated.hpp:235
-
size_t num_references() const
Definition train_integrated.hpp:219
+
Classifier that integrates multiple reference datasets.
Definition train_integrated.hpp:216
+
size_t num_labels(size_t r) const
Definition train_integrated.hpp:229
+
size_t num_profiles(size_t r) const
Definition train_integrated.hpp:237
+
size_t num_references() const
Definition train_integrated.hpp:221
Common definitions for singlepp.
Cell type classification using the SingleR algorithm in C++.
Definition classify_single.hpp:19
-
TrainIntegratedInput< Value_, Index_, Label_ > prepare_integrated_input_intersect(const Intersection< Index_ > &intersection, const tatami::Matrix< Value_, Index_ > &ref, const Label_ *labels, const TrainedSingleIntersect< Index_, Float_ > &trained)
Definition train_integrated.hpp:128
-
Intersection< Index_ > intersect_genes(Index_ test_nrow, const Id_ *test_id, Index_ ref_nrow, const Id_ *ref_id)
Definition Intersection.hpp:50
+
TrainIntegratedInput< Value_, Index_, Label_ > prepare_integrated_input_intersect(const Intersection< Index_ > &intersection, const tatami::Matrix< Value_, Index_ > &ref, const Label_ *labels, const TrainedSingleIntersect< Index_, Float_ > &trained)
Definition train_integrated.hpp:130
+
Intersection< Index_ > intersect_genes(Index_ test_nrow, const Id_ *test_id, Index_ ref_nrow, const Id_ *ref_id)
Definition Intersection.hpp:54
TrainIntegratedInput< Value_, Index_, Label_ > prepare_integrated_input(const tatami::Matrix< Value_, Index_ > &ref, const Label_ *labels, const TrainedSingle< Index_, Float_ > &trained)
Definition train_integrated.hpp:73
std::vector< std::vector< std::vector< Index_ > > > Markers
Definition Markers.hpp:40
-
TrainedIntegrated< Index_ > train_integrated(const std::vector< TrainIntegratedInput< Value_, Index_, Label_ > > &inputs, const TrainIntegratedOptions &options)
Definition train_integrated.hpp:451
+
TrainedIntegrated< Index_ > train_integrated(const std::vector< TrainIntegratedInput< Value_, Index_, Label_ > > &inputs, const TrainIntegratedOptions &options)
Definition train_integrated.hpp:453
-
Options for train_integrated().
Definition train_integrated.hpp:263
-
int num_threads
Definition train_integrated.hpp:268
+
Options for train_integrated().
Definition train_integrated.hpp:265
+
int num_threads
Definition train_integrated.hpp:270
Train a classifier from a single reference.