|
mapgd
0.4
A program for the Maximum-likelihood analysis of population genomic data.
|
A class that stores quartet information. More...
#include <quartet.h>
Public Member Functions | |
| quartet () | |
| quartet (const count_t &A, const count_t &C, const count_t &G, const count_t &T, const count_t &N) | |
| quartet & | operator+= (const quartet &x) |
| quartet | operator+ (const quartet &x) const |
| quartet & | operator= (const count_t &x) |
| quartet & | operator= (const quartet &rhs) |
| count_t | operator[] (const gt_t &x) const |
| count_t | operator[] (const Base &x) const |
Data Fields | |
| count_t | base [5] |
| The count of the number of occurnaces of bases. What nucleotieds this cout represents is stored at the Locus. | |
| bool | masked |
| A flag that indicates whether or not functions should use information from this quartet_t. Functions may ignore this flag if such behavior is desired. | |
| char | delim |
A class that stores quartet information.
|
inline |
The default constructor unmaskeds the site and zeros the base counts.
|
inline |
This constructor explicitly sets the counts of A, C, G, T, and N and unmasked the site.
This operator adds the basecounts of the two quartet s together and returns them. masked is ignored.
This operator is not implemented correctly. TODO fix it.
|
inline |
This operator copies the array count_t to base. Mask and delimiter is left untouched.
1.8.6