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

Compute scaling factors for embeddings. More...

#include <limits>
#include <utility>
#include <vector>
#include "sanisizer/sanisizer.hpp"
Include dependency graph for compute_scale.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 Distance_ >
Distance_ mumosa::compute_scale (const std::pair< Distance_, Distance_ > &ref, const std::pair< Distance_, Distance_ > &target)
 
template<typename Distance_ >
std::vector< Distance_ > mumosa::compute_scale (const std::vector< std::pair< Distance_, Distance_ > > &distances)
 

Detailed Description

Compute scaling factors for embeddings.