|
mumosa
Multi-modal analyses of single-cell data
|
Scale and combine embeddings. More...
#include <vector>#include <cstddef>#include <algorithm>#include <stdexcept>#include <cmath>#include "sanisizer/sanisizer.hpp"#include "utils.hpp"

Go to the source code of this file.
Namespaces | |
| namespace | mumosa |
| Scale multi-modal embeddings to adjust for differences in variance. | |
Functions | |
| template<typename Index_ , typename Input_ , typename Scale_ , typename Output_ > | |
| void | mumosa::combine_scaled_embeddings (const std::vector< std::size_t > &num_dims, const Index_ num_cells, const std::vector< Input_ * > &embeddings, const std::vector< Scale_ > &scaling, Output_ *const output) |
Scale and combine embeddings.