bpp-popgen3
3.0.0
|
The Darwin .don output format for popgenlib. More...
#include <Bpp/PopGen/DataSet/Io/Darwin/DarwinVarSingle.h>
Public Member Functions | |
DarwinVarSingle (size_t missingData=999) | |
~DarwinVarSingle () | |
The ODataSet interface. | |
void | write (std::ostream &os, const DataSet &data_set) const |
Write a DataSet on ostream. More... | |
void | write (const std::string &path, const DataSet &data_set, bool overwrite) const |
Write a DataSet in a text file. More... | |
The IOFormat interface | |
virtual const std::string | getFormatName () const |
virtual const std::string | getFormatDescription () const |
Private Member Functions | |
The IOFormat interface. | |
const std::string | getDataType () const |
Private Attributes | |
size_t | missingData_ |
The Darwin .don output format for popgenlib.
Definition at line 23 of file DarwinVarSingle.h.
DarwinVarSingle::DarwinVarSingle | ( | size_t | missingData = 999 | ) |
Definition at line 10 of file DarwinVarSingle.cpp.
DarwinVarSingle::~DarwinVarSingle | ( | ) |
Definition at line 12 of file DarwinVarSingle.cpp.
|
inlineprivatevirtualinherited |
Implements bpp::IOFormat.
Definition at line 33 of file IODataSet.h.
|
inlinevirtual |
Implements bpp::IOFormat.
Definition at line 53 of file DarwinVarSingle.h.
|
inlinevirtual |
Implements bpp::IOFormat.
Definition at line 49 of file DarwinVarSingle.h.
|
virtual |
Write a DataSet in a text file.
Reimplemented from bpp::AbstractODataSet.
Definition at line 75 of file DarwinVarSingle.cpp.
References bpp::AbstractODataSet::write().
|
virtual |
Write a DataSet on ostream.
Implements bpp::AbstractODataSet.
Definition at line 14 of file DarwinVarSingle.cpp.
References bpp::DataSet::analyzedLoci(), bpp::VectorTools::contains(), bpp::LocusInfo::getAlleleInfoByKey(), bpp::Individual::getGenotype(), bpp::AlleleInfo::getId(), bpp::DataSet::getIndividualAtPositionFromGroup(), bpp::DataSet::getLocusInfoAtPosition(), bpp::LocusInfo::getName(), bpp::LocusInfo::getNumberOfAlleles(), bpp::DataSet::getNumberOfGroups(), bpp::DataSet::getNumberOfIndividualsInGroup(), bpp::DataSet::getNumberOfLoci(), missingData_, bpp::MultilocusGenotype::monolocusGenotype(), bpp::VectorTools::paste(), and bpp::VectorTools::print().
|
private |
Definition at line 27 of file DarwinVarSingle.h.
Referenced by write().