bpp-seq-omics
2.4.1
|
Partial implementation of MafStatistics for method working on multiple distinct subsets of species, in a site-wise manner. More...
#include <Bpp/Seq/Io/Maf/MafStatistics.h>
Public Member Functions | |
AbstractSpeciesMultipleSelectionMafStatistics (const std::vector< std::vector< std::string > > &species) | |
virtual std::string | getShortName () const =0 |
virtual std::string | getFullName () const =0 |
virtual const MafStatisticsResult & | getResult () const =0 |
virtual void | compute (const MafBlock &block)=0 |
virtual std::vector< std::string > | getSupportedTags () const =0 |
Protected Member Functions | |
std::vector< SiteContainer * > | getSiteContainers_ (const MafBlock &block) |
Private Attributes | |
std::vector< std::vector< std::string > > | species_ |
Partial implementation of MafStatistics for method working on multiple distinct subsets of species, in a site-wise manner.
This class stores two non-overlapping selections of species and create for each block the corresponding SiteContainer instances.
Definition at line 408 of file MafStatistics.h.
AbstractSpeciesMultipleSelectionMafStatistics::AbstractSpeciesMultipleSelectionMafStatistics | ( | const std::vector< std::vector< std::string > > & | species | ) |
Definition at line 86 of file MafStatistics.cpp.
References species_, and bpp::VectorTools::vectorUnion().
|
pure virtualinherited |
Implemented in bpp::SequenceDiversityMafStatistics, bpp::PolymorphismMafStatistics, bpp::SiteMafStatistics, bpp::FourSpeciesPatternCountsMafStatistics, bpp::SiteFrequencySpectrumMafStatistics, bpp::CharacterCountsMafStatistics, bpp::AlignmentScoreMafStatistics, bpp::SequenceLengthMafStatistics, bpp::BlockLengthMafStatistics, bpp::BlockSizeMafStatistics, and bpp::PairwiseDivergenceMafStatistics.
|
pure virtualinherited |
Implemented in bpp::SequenceDiversityMafStatistics, bpp::PolymorphismMafStatistics, bpp::SiteMafStatistics, bpp::FourSpeciesPatternCountsMafStatistics, bpp::SiteFrequencySpectrumMafStatistics, bpp::CharacterCountsMafStatistics, bpp::AlignmentScoreMafStatistics, bpp::SequenceLengthMafStatistics, bpp::BlockLengthMafStatistics, bpp::BlockSizeMafStatistics, and bpp::PairwiseDivergenceMafStatistics.
|
pure virtualinherited |
Implemented in bpp::AbstractMafStatisticsSimple, and bpp::AbstractMafStatistics.
|
pure virtualinherited |
Implemented in bpp::SequenceDiversityMafStatistics, bpp::PolymorphismMafStatistics, bpp::SiteMafStatistics, bpp::FourSpeciesPatternCountsMafStatistics, bpp::SiteFrequencySpectrumMafStatistics, bpp::CharacterCountsMafStatistics, bpp::AlignmentScoreMafStatistics, bpp::SequenceLengthMafStatistics, bpp::BlockLengthMafStatistics, bpp::BlockSizeMafStatistics, and bpp::PairwiseDivergenceMafStatistics.
|
protected |
Definition at line 97 of file MafStatistics.cpp.
References bpp::VectorSiteContainer::addSequence(), bpp::MafBlock::getAlignment(), bpp::AlignedSequenceContainer::getAlphabet(), bpp::MafBlock::getSequencesForSpecies(), bpp::MafBlock::hasSequenceForSpecies(), and species_.
Referenced by bpp::PolymorphismMafStatistics::compute().
|
pure virtualinherited |
Implemented in bpp::SequenceDiversityMafStatistics, bpp::PolymorphismMafStatistics, bpp::SiteMafStatistics, bpp::FourSpeciesPatternCountsMafStatistics, bpp::SiteFrequencySpectrumMafStatistics, bpp::CharacterCountsMafStatistics, and bpp::AbstractMafStatisticsSimple.
|
private |
Definition at line 412 of file MafStatistics.h.
Referenced by AbstractSpeciesMultipleSelectionMafStatistics(), and getSiteContainers_().