|
mumosa
Multi-modal analyses of single-cell data
|
Compute scaling factors for embeddings. More...
#include <limits>#include <utility>#include <vector>#include "sanisizer/sanisizer.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 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) |
Compute scaling factors for embeddings.