scran_pca
Principal component analysis for single-cell data
Loading...
Searching...
No Matches
subset_pca.hpp File Reference

PCA on a subset of features. More...

#include <vector>
#include <optional>
#include <cstddef>
#include "simple_pca.hpp"
#include "blocked_pca.hpp"
#include "utils.hpp"
#include "sanisizer/sanisizer.hpp"
#include "tatami_mult/tatami_mult.hpp"
#include "tatami/tatami.hpp"
#include "Eigen/Dense"

Go to the source code of this file.

Namespaces

namespace  scran_pca
 Principal component analysis on single-cell data.
 

Typedefs

typedef SimplePcaOptions scran_pca::SubsetPcaOptions
 
template<typename EigenMatrix_ , class EigenVector_ >
using scran_pca::SubsetPcaResults = SimplePcaResults<EigenMatrix_, EigenVector_>
 
typedef BlockedPcaOptions scran_pca::SubsetPcaBlockedOptions
 
template<typename EigenMatrix_ , class EigenVector_ >
using scran_pca::SubsetPcaBlockedResults = BlockedPcaResults<EigenMatrix_, EigenVector_>
 

Functions

template<typename Value_ , typename Index_ , typename SubsetVector_ , typename EigenMatrix_ , class EigenVector_ >
void scran_pca::subset_pca (const tatami::Matrix< Value_, Index_ > &mat, const SubsetVector_ &subset, const SubsetPcaOptions &options, SubsetPcaResults< EigenMatrix_, EigenVector_ > &output)
 
template<typename EigenMatrix_ = Eigen::MatrixXd, class EigenVector_ = Eigen::VectorXd, typename Value_ , typename Index_ , class SubsetVector_ >
SubsetPcaResults< EigenMatrix_, EigenVector_ > scran_pca::subset_pca (const tatami::Matrix< Value_, Index_ > &mat, const SubsetVector_ &subset, const SubsetPcaOptions &options)
 
template<typename Value_ , typename Index_ , class SubsetVector_ , typename Block_ , typename EigenMatrix_ , class EigenVector_ >
void scran_pca::subset_pca_blocked (const tatami::Matrix< Value_, Index_ > &mat, const SubsetVector_ &subset, const Block_ *block, const SubsetPcaBlockedOptions &options, SubsetPcaBlockedResults< EigenMatrix_, EigenVector_ > &output)
 
template<typename EigenMatrix_ = Eigen::MatrixXd, class EigenVector_ = Eigen::VectorXd, typename Value_ , typename Index_ , class SubsetVector_ , typename Block_ >
SubsetPcaBlockedResults< EigenMatrix_, EigenVector_ > scran_pca::subset_pca_blocked (const tatami::Matrix< Value_, Index_ > &mat, const SubsetVector_ &subset, const Block_ *block, const SubsetPcaBlockedOptions &options)
 

Detailed Description

PCA on a subset of features.