Sleipnir
Static Public Member Functions
Sleipnir::CSeekWriter Class Reference

Static Public Member Functions

template<class tType >
static bool ReadSeekSparseMatrixHeader (const char *fileName, CSeekIntIntMap &m)
template<class tType >
static bool ReadSeekSparseMatrix (const char *fileName, CSparseFlatMatrix< float > &mat, CSeekIntIntMap &m, const int maxRank, const float rbp_p, const vector< string > &vecstrGenes)
template<class tType >
static bool RemoveDominant (CSparseFlatMatrix< float > &mat, CSeekIntIntMap &m, const vector< string > &vecstrGenes)
template<class tType >
static bool WriteSparseMatrix (CDataPair &Dat, vector< map< tType, unsigned short > > &umat, const vector< string > &vecstrGenes, const char *fileName)
template<class tType >
static bool GetSparseRankMatrix (CDataPair &Dat, vector< map< tType, unsigned short > > &umat, int maxRank, const vector< string > &vecstrGenes)
template<class tType >
static bool ConvertToSparseMatrix (CDataPair &Dat, vector< map< tType, unsigned short > > &umat, const vector< string > &vecstrGenes, const float cutoff_val)
template<class tType >
static bool ReadSeekSparseMatrix (const char *fileName, CSparseFlatMatrix< float > &mat, CSeekIntIntMap &m, const vector< string > &vecstrGenes, const int initialCapacity, const float exponent)
static bool ReadSparseMatrix (const char *fileName, vector< map< utype, float > > &mat, CSeekIntIntMap &m, const int maxRank, const float rbp_p, const vector< string > &vecstrGenes)
static bool ProductNorm (const vector< map< utype, float > > &mat1, const vector< map< utype, float > > &mat2, const CSeekIntIntMap &m1, const CSeekIntIntMap &m2, vector< map< utype, float > > &re)
static bool SumSparseMatrix (CSparseFlatMatrix< float > &mat1, CSparseFlatHalfMatrix< float > &res, const CSeekIntIntMap &mi, const float w)
static bool SumSparseMatrix (CSparseFlatMatrix< float > &mat1, CHalfMatrix< float > &res, const CSeekIntIntMap &mi, const float w)
static bool NormalizeDAB (CDataPair &Dat, const vector< string > &vecstrGenes, bool expTransform, bool divideNorm, bool subtractNorm)
static bool GetGeneAverage (CDataPair &Dat, const vector< string > &vecstrGenes, vector< float > &vecResult, bool logit=false, float top_percent=1.0)
static bool GetGenePresence (CDataPair &Dat, const vector< string > &vecstrGenes, vector< char > &vecResult)
static bool GetDatasetSinfo (CDataPair &Dat, float &mean, float &stdev)
static bool TopologicalOverlap (CDataPair &Dat, const vector< string > &vecstrGenes)

Detailed Description

Definition at line 35 of file seekwriter.h.


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