bpp-seq-omics
2.2.0
|
Compute the frequency of site patterns for a quadruplet of species. More...
#include <Bpp/Seq/Io/Maf/MafStatistics.h>
Public Member Functions | |
FourSpeciesPatternCountsMafStatistics (const Alphabet *alphabet, const std::vector< std::string > &species) | |
FourSpeciesPatternCountsMafStatistics (const FourSpeciesPatternCountsMafStatistics &stats) | |
FourSpeciesPatternCountsMafStatistics & | operator= (const FourSpeciesPatternCountsMafStatistics &stats) |
virtual | ~FourSpeciesPatternCountsMafStatistics () |
std::string | getShortName () const |
std::string | getFullName () const |
void | compute (const MafBlock &block) |
std::vector< std::string > | getSupportedTags () const |
const MafStatisticsResult & | getResult () const |
Protected Member Functions | |
SiteContainer * | getSiteContainer_ (const MafBlock &block) |
Protected Attributes | |
MafStatisticsResult | result_ |
Private Attributes | |
const Alphabet * | alphabet_ |
std::vector< unsigned int > | counts_ |
Compute the frequency of site patterns for a quadruplet of species.
Only parsimony informative sites are categorized. Species: A B C D P1 1 1 0 0 P2 0 1 1 0 P3 1 0 1 0 Sites with more than two states are ignored, as well as sites containing gaps or unresolved characters.
Definition at line 538 of file MafStatistics.h.
|
inline |
Definition at line 547 of file MafStatistics.h.
|
inline |
Definition at line 561 of file MafStatistics.h.
|
inlinevirtual |
Definition at line 576 of file MafStatistics.h.
|
virtual |
Implements bpp::MafStatistics.
Definition at line 259 of file MafStatistics.cpp.
References counts_, bpp::MafBlock::getNumberOfSites(), bpp::AbstractSpeciesSelectionMafStatistics::getSiteContainer_(), bpp::AbstractMafStatistics::result_, and bpp::MafStatisticsResult::setValue().
|
inlinevirtual |
Implements bpp::MafStatistics.
Definition at line 580 of file MafStatistics.h.
|
inlinevirtualinherited |
Implements bpp::MafStatistics.
Definition at line 239 of file MafStatistics.h.
References bpp::AbstractMafStatistics::result_.
|
inlinevirtual |
Implements bpp::MafStatistics.
Definition at line 579 of file MafStatistics.h.
|
protectedinherited |
Definition at line 95 of file MafStatistics.cpp.
References bpp::MafBlock::getAlignment(), bpp::MafBlock::getSequencesForSpecies(), and bpp::MafBlock::hasSequenceForSpecies().
Referenced by bpp::SiteFrequencySpectrumMafStatistics::compute(), compute(), bpp::SiteMafStatistics::compute(), and bpp::SequenceDiversityMafStatistics::compute().
|
virtual |
Implements bpp::MafStatistics.
Definition at line 249 of file MafStatistics.cpp.
|
inline |
Definition at line 568 of file MafStatistics.h.
|
private |
Definition at line 543 of file MafStatistics.h.
Referenced by operator=().
|
private |
Definition at line 544 of file MafStatistics.h.
Referenced by compute(), and operator=().
|
protectedinherited |
Definition at line 232 of file MafStatistics.h.
Referenced by bpp::SiteFrequencySpectrumMafStatistics::compute(), compute(), bpp::SiteMafStatistics::compute(), bpp::PolymorphismMafStatistics::compute(), bpp::SequenceDiversityMafStatistics::compute(), and bpp::AbstractMafStatistics::getResult().