#include <cassert>
#include <stdexcept>
#include <string>
#include <vector>
#include "genesis/population/window/base_window.hpp"
#include "genesis/population/window/window_view.hpp"
#include "genesis/population/window/window.hpp"
Go to the source code of this file.
Namespaces | |
genesis | |
Container namespace for all symbols of genesis in order to keep them separate when used as a library. | |
genesis::population | |
Enumerations | |
enum | WindowAnchorType { kIntervalBegin, kIntervalEnd, kIntervalMidpoint, kVariantFirst, kVariantLast, kVariantMedian, kVariantMean, kVariantMidpoint } |
Position in the genome that is used for reporting when emitting or using a window. More... | |
Functions | |
template<class D > | |
size_t | anchor_position (BaseWindow< D > const &window, WindowAnchorType anchor_type=WindowAnchorType::kIntervalBegin) |
Get the position in the chromosome reported according to a specific WindowAnchorType. More... | |
template<class D , class A = EmptyAccumulator> | |
size_t | anchor_position (Window< D, A > const &window, WindowAnchorType anchor_type=WindowAnchorType::kIntervalBegin) |
Get the position in the chromosome reported according to a specific WindowAnchorType. More... | |