mumosa
Multi-modal analyses of single-cell data
Loading...
Searching...
No Matches
combine_scaled_embeddings.hpp File Reference

Scale and combine embeddings. More...

#include <vector>
#include <cstddef>
#include <algorithm>
#include <stdexcept>
#include <cmath>
#include "sanisizer/sanisizer.hpp"
#include "utils.hpp"
Include dependency graph for combine_scaled_embeddings.hpp:
This graph shows which files directly or indirectly include this file:

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)
 

Detailed Description

Scale and combine embeddings.