bpp-phyl
2.2.0
|
This class provides I/O for the Tree-Puzzle/RAxML (phylip-like) paired-site likelihoods format. More...
#include <Bpp/Phyl/Io/IoPairedSiteLikelihoods.h>
Static Public Member Functions | |
static PairedSiteLikelihoods | read (std::istream &is) throw (Exception) |
Read paired-site likelihoods from a Treepuzzle/RAxML-formatted stream. More... | |
static PairedSiteLikelihoods | read (const std::string &path) throw (Exception) |
Read paired-site likelihoods from a Treepuzzle/RAxML-formatted file. More... | |
static void | write (const PairedSiteLikelihoods &psl, std::ostream &os, const std::string &delim="\) |
Write paired-site likelihoods to a stream. More... | |
static void | write (const PairedSiteLikelihoods &psl, const std::string &path, const std::string &delim="\) |
Write paired-site likelihoods to a file. More... | |
This class provides I/O for the Tree-Puzzle/RAxML (phylip-like) paired-site likelihoods format.
Definition at line 68 of file IoPairedSiteLikelihoods.h.
|
static |
Read paired-site likelihoods from a Treepuzzle/RAxML-formatted stream.
Exception | If the format is not recognized. |
Definition at line 56 of file IoPairedSiteLikelihoods.cpp.
|
static |
Read paired-site likelihoods from a Treepuzzle/RAxML-formatted file.
Exception | If the format is not recognized. |
Definition at line 131 of file IoPairedSiteLikelihoods.cpp.
|
static |
Write paired-site likelihoods to a stream.
psl | The PairedSiteLikelihoods object to write. |
os | The output stream. |
delim | The delimiter between model names and likelihoods. The defaut is a tab but two spaces might be used. |
Definition at line 141 of file IoPairedSiteLikelihoods.cpp.
References bpp::PairedSiteLikelihoods::getLikelihoods(), bpp::PairedSiteLikelihoods::getModelNames(), bpp::PairedSiteLikelihoods::getNumberOfModels(), and bpp::PairedSiteLikelihoods::getNumberOfSites().
|
static |
Write paired-site likelihoods to a file.
psl | The PairedSiteLikelihoods object to write. |
path | The path of the output file. |
delim | The delimiter between model names and likelihoods. (The defaut is a tab but two spaces might be used.) |
Definition at line 220 of file IoPairedSiteLikelihoods.cpp.