Loads CNV window data from a file and caches it in memory. More...
#include <CnvDetailStore.hpp>
Public Member Functions | |
| CnvDetailStore (const reference::CrrFile &crr, const GenomeMetadata &exp, bool isDiploid, bool isSomatic) | |
| Loads all CNV window data from a given export package. | |
| bool | hasCalledPloidy () const |
| True if the ploidy calls are present in the export package. | |
| bool | hasCalledLevel () const |
| True if the level calls are present in the export package. | |
| bool | hasLAF () const |
| True if LAF information is present in the Details file. | |
| const CnvDetailData * | getBestOverlappingDetail (const reference::Range &r) const |
| Returns the CNV window data for the window with the longest overlap with the given range. | |
| void | bindColumns (util::DelimitedFile &df, reference::Range &range, CnvDetailData &data) |
| This function is not a part of the true public interface of this class. | |
Loads CNV window data from a file and caches it in memory.
| const CnvDetailData* cgatools::cgdata::CnvDetailStore::getBestOverlappingDetail | ( | const reference::Range & | r | ) | const |
Returns the CNV window data for the window with the longest overlap with the given range.
In case of a tie, returns the data for the first window in the reference order.
1.6.2