Vespucci  1.0.0
PrincipalComponentsData Class Reference

The PrincipalComponentsData class A class for performing and storing data from principal components analysis. More...

#include <principalcomponentsdata.h>

Inheritance diagram for PrincipalComponentsData:
AnalysisResults

Public Member Functions

 PrincipalComponentsData (QString name)
 PrincipalComponentsData::PrincipalComponentsData. More...
 
void Apply (const mat &spectra)
 PrincipalComponentsData::Apply. More...
 
- Public Member Functions inherited from AnalysisResults
 AnalysisResults (QString name, QString type)
 AnalysisResults::AnalysisResults. More...
 
virtual ~AnalysisResults ()
 
const mat & GetMatrix (const QString &key)
 
void AddMatrix (const QString &key, const mat &value, QStringList column_headings=QStringList())
 
void AddColumns (const QStringList &keys, const mat &value)
 
void AddMetadata (QString key, QString value)
 
void AddField (const QString &key, const field< mat > &value)
 
const field< mat > & GetField (const QString &key)
 
const mat & GetFieldElement (const QString &key, const uword &index)
 
bool HasField (const QString &key) const
 
bool HasMatrix (const QString &key) const
 
const QStringList KeyList () const
 
const QString name () const
 
const QString type () const
 
const mat & EmptyMatrix ()
 
const QMap< QString, QString > GetMetadata () const
 
const QString GetColumnHeading (const QString &key, int column)
 
const QString GetRowHeading (const QString &key, int row)
 
void SetName (const QString &new_name)
 
void SetType (const QString &new_type)
 
QSharedPointer< AnalysisResultsSubset (QStringList matrices, uword start_row, uword end_row)
 
void AddParent (QString key, uword start_row, uword end_row)
 
QMap< QString, uvec > parent_rows ()
 
bool Concatenate (QSharedPointer< AnalysisResults > other)
 AnalysisResults::Concatenate. More...
 
QSharedPointer< AnalysisResultsReplicate ()
 AnalysisResults::Replicate. More...
 
void RemoveMatrix (const QString &key)
 

Detailed Description

The PrincipalComponentsData class A class for performing and storing data from principal components analysis.

Definition at line 32 of file principalcomponentsdata.h.

Constructor & Destructor Documentation

PrincipalComponentsData::PrincipalComponentsData ( QString  name)

PrincipalComponentsData::PrincipalComponentsData.

Parameters
parentDataset
directoryglobal directory

Definition at line 27 of file principalcomponentsdata.cpp.

Member Function Documentation

void PrincipalComponentsData::Apply ( const mat &  spectra)

PrincipalComponentsData::Apply.

Parameters
spectraPerform analysis using arma::princomp

Definition at line 37 of file principalcomponentsdata.cpp.


The documentation for this class was generated from the following files: