A library for working with phylogenetic data.
GenomeRegion Struct Reference

#include <genesis/population/genome_region.hpp>

Detailed Description

A region (between two positions) on a chromosome.

This can be used to represent a gene, a feature, or just generally a region of interest. We use a simple form with a chromosome name and a start and end position.

Definition at line 51 of file genome_region.hpp.

Public Member Functions

 GenomeRegion (std::string const &chr="", size_t s=0, size_t e=0)

Public Attributes

std::string chromosome
size_t end = 0
size_t start = 0

Constructor & Destructor Documentation

◆ GenomeRegion()

GenomeRegion ( std::string const &  chr = "",
size_t  s = 0,
size_t  e = 0 

Definition at line 60 of file genome_region.hpp.

Member Data Documentation

◆ chromosome

std::string chromosome

Definition at line 56 of file genome_region.hpp.

◆ end

size_t end = 0

Definition at line 58 of file genome_region.hpp.

◆ start

size_t start = 0

Definition at line 57 of file genome_region.hpp.

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