multovl
1.3
Multiple overlaps of genomic regions
|
#include "multioverlap.hh"
Public Member Functions | |
Counter () | |
Default ctor. | |
void | count (const MultiRegion &mr) |
Count update based on the ancestor IDs in /mr/. | |
unsigned int | total () const |
Return the total count. | |
Counter & | operator+= (const Counter &other) |
Merge the contents of another Counter object into the calling object. | |
std::string | to_string () const |
Counts how many overlaps were derived from regions in various track combinations. E.g. if you overlap 4 tracks, you may wish to ask how many overlaps came from tracks 1,3,4 or 2,3.
std::string multovl::MultiOverlap::Counter::to_string | ( | ) | const |
Convert the counter to a string. The format is either "(empty)" or "id1,id2,...,idN:count1 id1,id2,...,idM:count2 ..." where "id1,id2,...idN" are the track IDs (uints).