General interface for model readers.
More...
#include <Bpp/Phyl/Io/IoSubstitutionModel.h>
General interface for model readers.
Definition at line 42 of file IoSubstitutionModel.h.
◆ ISubstitutionModel()
| bpp::ISubstitutionModel::ISubstitutionModel |
( |
| ) |
|
|
inline |
◆ ~ISubstitutionModel()
| virtual bpp::ISubstitutionModel::~ISubstitutionModel |
( |
| ) |
|
|
inlinevirtual |
◆ getDataType()
| virtual const std::string bpp::IoSubstitutionModel::getDataType |
( |
| ) |
const |
|
inlinevirtualinherited |
◆ getUnparsedArguments()
| virtual const std::map< std::string, std::string > & bpp::ISubstitutionModel::getUnparsedArguments |
( |
| ) |
const |
|
pure virtual |
◆ readSubstitutionModel()
| virtual std::unique_ptr< SubstitutionModelInterface > bpp::ISubstitutionModel::readSubstitutionModel |
( |
std::shared_ptr< const Alphabet > |
alphabet, |
|
|
const std::string & |
modelDescription, |
|
|
const std::map< size_t, std::shared_ptr< const AlignmentDataInterface > > & |
mData, |
|
|
size_t |
nData, |
|
|
bool |
parseArguments = true |
|
) |
| |
|
pure virtual |
Read a substitution model from a string.
- Parameters
-
| alphabet | The alphabet to use in the model. |
| modelDescription | A string describing the model in the format. |
| mData | A map towards pointers of SiteContainer with the data to use to initialize frequency parameters |
| nData | Number of the SiteContainer in the mData. Can be set to 0, if none assigned. |
| parseArguments | Attempt to parse function arguments. If not, only store them and use default values instead. |
- Returns
- A new SubstitutionModel object according to options specified.
- Exceptions
-
Implemented in bpp::BppOSubstitutionModelFormat.
The documentation for this class was generated from the following file: