Public Member Functions

MGT::Kmers::KmerSparseFeatures Class Reference

Inheritance diagram for MGT::Kmers::KmerSparseFeatures:
MGT::KmerCounter

List of all members.

Public Member Functions

def kmerCounts
def kmerFrequencies

Detailed Description

Any of the kmerXXX methods may or may not return a reference to internal data,
so make a copy if a guaranteed independent copy of the result is required.

Member Function Documentation

def MGT::Kmers::KmerSparseFeatures::kmerCounts (   self,
  samp = None 
)
Return absolute k-mer counts.
@param[in] samp If not None, process() will be called first for this data,
and then count returned. Otherwise it will assume that process() has been called
before (maybe multiple times), and simply finalize and return counts.
def MGT::Kmers::KmerSparseFeatures::kmerFrequencies (   self,
  samp = None 
)
Return frequencies normalized according to normalization policy supplied to ctor.
@param[in] samp If not None, process() will be called first for this data,
and then count returned. Otherwise it will assume that process() has been called
before (maybe multiple times), and simply finalize and return counts.

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