scran_pca
Principal component analysis for single-cell data
|
Perform a simple PCA on a gene-by-cell matrix. More...
#include "tatami/tatami.hpp"
#include "tatami_stats/tatami_stats.hpp"
#include "irlba/irlba.hpp"
#include "irlba/parallel.hpp"
#include "Eigen/Dense"
#include <vector>
#include <type_traits>
#include <algorithm>
#include "utils.hpp"
Go to the source code of this file.
Classes | |
struct | scran_pca::SimplePcaOptions |
Options for simple_pca() . More... | |
struct | scran_pca::SimplePcaResults< EigenMatrix_, EigenVector_ > |
Results of simple_pca() . More... | |
Namespaces | |
namespace | scran_pca |
Principal component analysis on single-cell data. | |
Functions | |
template<typename Value_ , typename Index_ , typename EigenMatrix_ , class EigenVector_ > | |
void | scran_pca::simple_pca (const tatami::Matrix< Value_, Index_ > &mat, const SimplePcaOptions &options, SimplePcaResults< EigenMatrix_, EigenVector_ > &output) |
template<typename EigenMatrix_ = Eigen::MatrixXd, class EigenVector_ = Eigen::VectorXd, typename Value_ , typename Index_ > | |
SimplePcaResults< EigenMatrix_, EigenVector_ > | scran_pca::simple_pca (const tatami::Matrix< Value_, Index_ > &mat, const SimplePcaOptions &options) |
Perform a simple PCA on a gene-by-cell matrix.