libsequence  1.9.5
Sequence::HKAdata Struct Reference

Data from a single locus for an HKA test. More...

#include <Sequence/HKA.hpp>

Public Member Functions

 HKAdata ()
 
 HKAdata (const HKAdata &d)
 
 HKAdata (unsigned sa, unsigned sb, double d, unsigned na, unsigned nb)
 

Public Attributes

const unsigned SA
 
const unsigned SB
 
const double D
 
const unsigned nA
 
const unsigned nB
 

Detailed Description

Data from a single locus for an HKA test.

Data from a single locus for an HKA test

Definition at line 39 of file HKA.hpp.

Constructor & Destructor Documentation

◆ HKAdata() [1/3]

Sequence::HKAdata::HKAdata ( )

default constructor

Definition at line 52 of file HKA.cc.

◆ HKAdata() [2/3]

Sequence::HKAdata::HKAdata ( const HKAdata d)

copy constructor

Definition at line 59 of file HKA.cc.

◆ HKAdata() [3/3]

Sequence::HKAdata::HKAdata ( unsigned  sa,
unsigned  sb,
double  d,
unsigned  na,
unsigned  nb 
)
Parameters
saNum. polymorphic sites in species a
sbNum. polymorphic sites in species b
dDivergence between species a and b (per locus)
nasample size for species a
nbsample size for species b

Definition at line 66 of file HKA.cc.

Member Data Documentation

◆ D

const double Sequence::HKAdata::D

D is a measure of divergence between species A and B, i.e. mean pairwise differences

Definition at line 50 of file HKA.hpp.

◆ nA

const unsigned Sequence::HKAdata::nA

The sample sizes in species A and B

Definition at line 54 of file HKA.hpp.

◆ SA

const unsigned Sequence::HKAdata::SA

SA is the number of polymorphic sites in species A, SB is the same quantity for species B

Definition at line 45 of file HKA.hpp.


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