multovl  1.3
Multiple overlaps of genomic regions
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Pages
Public Member Functions | List of all members
multovl::MultiOverlap::Counter Class Reference

#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.
 
Counteroperator+= (const Counter &other)
 Merge the contents of another Counter object into the calling object.
 
std::string to_string () const
 

Detailed Description

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.

Member Function Documentation

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).


The documentation for this class was generated from the following file: