bpp-seq-omics
2.4.1
|
Provide estimates of sequence diversity. More...
#include <Bpp/Seq/Io/Maf/MafStatistics.h>
Public Member Functions | |
SequenceDiversityMafStatistics (const std::vector< std::string > &ingroup) | |
virtual | ~SequenceDiversityMafStatistics () |
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_ |
std::string | suffix_ |
Static Private Member Functions | |
static std::vector< int > | getPatterns_ (const SiteContainer &sites) |
Private Attributes | |
std::vector< std::string > | species_ |
bool | noSpeciesMeansAllSpecies_ |
Provide estimates of sequence diversity.
Only fully resolved sites are analyzed (no gap, no generic character).
Definition at line 693 of file MafStatistics.h.
|
inline |
Definition at line 698 of file MafStatistics.h.
|
inlinevirtual |
Definition at line 703 of file MafStatistics.h.
|
virtual |
Implements bpp::MafStatistics.
Definition at line 481 of file MafStatistics.cpp.
References bpp::SiteContainerTools::computeSimilarity(), bpp::SiteContainerTools::getCompleteSites(), bpp::AbstractSpeciesSelectionMafStatistics::getSiteContainer_(), bpp::SiteTools::isComplete(), bpp::SiteTools::isConstant(), bpp::AbstractMafStatistics::result_, bpp::MafStatisticsResult::setValue(), and bpp::SiteContainerTools::SIMILARITY_NOGAP.
|
inlinevirtual |
Implements bpp::MafStatistics.
Definition at line 707 of file MafStatistics.h.
|
staticprivate |
|
inlinevirtualinherited |
Implements bpp::MafStatistics.
Definition at line 241 of file MafStatistics.h.
References bpp::AbstractMafStatistics::result_.
|
inlinevirtual |
Implements bpp::MafStatistics.
Definition at line 706 of file MafStatistics.h.
|
protectedinherited |
Definition at line 68 of file MafStatistics.cpp.
References bpp::VectorSiteContainer::addSequence(), bpp::MafBlock::getAlignment(), bpp::AlignedSequenceContainer::getAlphabet(), bpp::MafBlock::getSequencesForSpecies(), and bpp::MafBlock::hasSequenceForSpecies().
Referenced by bpp::CharacterCountsMafStatistics::compute(), bpp::SiteFrequencySpectrumMafStatistics::compute(), bpp::FourSpeciesPatternCountsMafStatistics::compute(), bpp::SiteMafStatistics::compute(), and compute().
|
virtual |
Implements bpp::MafStatistics.
Definition at line 471 of file MafStatistics.cpp.
|
privateinherited |
Definition at line 382 of file MafStatistics.h.
|
protectedinherited |
Definition at line 234 of file MafStatistics.h.
Referenced by bpp::CharacterCountsMafStatistics::compute(), bpp::SiteFrequencySpectrumMafStatistics::compute(), bpp::FourSpeciesPatternCountsMafStatistics::compute(), bpp::SiteMafStatistics::compute(), bpp::PolymorphismMafStatistics::compute(), compute(), and bpp::AbstractMafStatistics::getResult().
|
privateinherited |
Definition at line 381 of file MafStatistics.h.
|
protectedinherited |
Definition at line 385 of file MafStatistics.h.
Referenced by bpp::CharacterCountsMafStatistics::getFullName(), and bpp::CharacterCountsMafStatistics::getShortName().