mnncorrect
Batch correction with mutual nearest neighbors
Loading...
Searching...
No Matches
mnncorrect.hpp File Reference

Batch correction with mutual nearest neighbors. More...

#include <algorithm>
#include <vector>
#include <numeric>
#include <stdexcept>
#include <cstddef>
#include "knncolle/knncolle.hpp"
#include "AutomaticOrder.hpp"
#include "restore_input_order.hpp"
#include "utils.hpp"
Include dependency graph for mnncorrect.hpp:

Go to the source code of this file.

Classes

struct  mnncorrect::Options< Index_, Float_, Matrix_ >
 Options for compute(). More...
 

Namespaces

namespace  mnncorrect
 Batch correction with mutual nearest neighbors.
 

Functions

template<typename Index_ , typename Float_ , class Matrix_ >
void mnncorrect::compute (std::size_t num_dim, const std::vector< Index_ > &num_obs, const std::vector< const Float_ * > &batches, Float_ *output, const Options< Index_, Float_, Matrix_ > &options)
 
template<typename Index_ , typename Float_ , class Matrix_ >
void mnncorrect::compute (std::size_t num_dim, const std::vector< Index_ > &num_obs, const Float_ *input, Float_ *output, const Options< Index_, Float_, Matrix_ > &options)
 
template<typename Index_ , typename Float_ , typename Batch_ , class Matrix_ >
void mnncorrect::compute (std::size_t num_dim, Index_ num_obs, const Float_ *input, const Batch_ *batch, Float_ *output, const Options< Index_, Float_, Matrix_ > &options)
 

Detailed Description

Batch correction with mutual nearest neighbors.