libsequence  1.9.5
Sequence::AlleleCountMatrix Class Reference

Matrix representation of allele counts in a VariantMatrix To be constructed. More...

#include <AlleleCountMatrix.hpp>

Public Types

using value_type = std::vector< std::int32_t >::value_type
 

Public Member Functions

 AlleleCountMatrix (const VariantMatrix &m)
 
template<typename T >
 AlleleCountMatrix (T &&t, const std::size_t nc_, const std::size_t nr_, const std::size_t n_)
 
std::pair< std::vector< std::int32_t >::const_iterator, std::vector< std::int32_t >::const_iterator > row (const std::size_t) const
 

Public Attributes

const std::vector< std::int32_t > counts
 
const std::size_t ncol
 
const std::size_t nrow
 
const std::size_t nsam
 

Detailed Description

Matrix representation of allele counts in a VariantMatrix To be constructed.

Definition at line 12 of file AlleleCountMatrix.hpp.

Constructor & Destructor Documentation

◆ AlleleCountMatrix()

template<typename T >
Sequence::AlleleCountMatrix::AlleleCountMatrix ( T &&  t,
const std::size_t  nc_,
const std::size_t  nr_,
const std::size_t  n_ 
)
inline

This constructor is for advanced use only, such as constructing from a slice of a pre-existing AlleleCountMatrix.

Definition at line 31 of file AlleleCountMatrix.hpp.


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