Expand description
Low-level (“unsafe”) bindings to the C API.
This module is a 1-to-1 mapping of C types and functions for both tskit and kastore. The bindings are generate via bindgen.
Using things from this module will be unsafe.
Further, as many of the types require init() methods
to correctly set up the structs, one has to coerce rust
into allowing uninitialized variables:
use std::mem::MaybeUninit;
let mut edges: MaybeUninit<tskit::bindings::tsk_edge_table_t> = MaybeUninit::uninit();
unsafe {
let _ = tskit::bindings::tsk_edge_table_init(edges.as_mut_ptr(), 0);
let _ = tskit::bindings::tsk_edge_table_add_row(edges.as_mut_ptr(), 0., 10., 0, 1, std::ptr::null(), 0);
assert_eq!((*edges.as_ptr()).num_rows, 1);
tskit::bindings::tsk_edge_table_free(edges.as_mut_ptr());
}The best source for documentation will be the tskit docs. Those docs describe the most important parts of the C API. This module contains the same types/functions with the same names.
Structs§
- _IO_
FILE - _IO_
codecvt - _IO_
marker - _IO_
wide_ data - _tsk_
avl_ node_ int_ t - _tsk_
edge_ list_ node_ t - _tsk_
identity_ segment_ t - _tsk_
ls_ hmm_ t - _tsk_
table_ sorter_ t - @brief Low-level table sorting method.
- kaitem_
t - kastore_
t - @brief A file-backed store of key-array values.
- tsk_
argsort_ t - tsk_
avl_ tree_ int_ t - tsk_
blkalloc_ t - tsk_
bookmark_ t - @brief A bookmark recording the position of all the tables in a table collection.
- tsk_
compressed_ matrix_ t - tsk_
diff_ iter_ t - tsk_
edge_ list_ t - tsk_
edge_ t - @brief A single edge defined by a row in the edge table.
- tsk_
edge_ table_ t - @brief The edge table.
- tsk_
identity_ segment_ list_ t - tsk_
identity_ segments_ t - tsk_
individual_ t - @brief A single individual defined by a row in the individual table.
- tsk_
individual_ table_ t - @brief The individual table.
- tsk_
ld_ calc_ t - tsk_
migration_ t - @brief A single migration defined by a row in the migration table.
- tsk_
migration_ table_ t - @brief The migration table.
- tsk_
mutation_ t - @brief A single mutation defined by a row in the mutation table.
- tsk_
mutation_ table_ t - @brief The mutation table.
- tsk_
node_ t - @brief A single node defined by a row in the node table.
- tsk_
node_ table_ t - @brief The node table.
- tsk_
population_ t - @brief A single population defined by a row in the population table.
- tsk_
population_ table_ t - @brief The population table.
- tsk_
provenance_ t - @brief A single provenance defined by a row in the provenance table.
- tsk_
provenance_ table_ t - @brief The provenance table.
- tsk_
recomb_ required_ record - tsk_
reference_ sequence_ t - tsk_
site_ probability_ t - tsk_
site_ t - @brief A single site defined by a row in the site table.
- tsk_
site_ table_ t - @brief The site table.
- tsk_
state_ transition_ t - tsk_
table_ collection_ t - @brief A collection of tables defining the data for a tree sequence.
- tsk_
table_ collection_ t__ bindgen_ ty_ 1 - tsk_
transition_ stack_ t - tsk_
tree_ t - @brief A single tree in a tree sequence.
- tsk_
tree_ t__ bindgen_ ty_ 1 - @brief Left and right coordinates of the genomic interval that this tree covers. The left coordinate is inclusive and the right coordinate exclusive.
- tsk_
treeseq_ t - @brief The tree sequence object.
- tsk_
value_ transition_ t - tsk_
vargen_ t - tsk_
variant_ t - @brief A variant at a specific site.
- tsk_
viterbi_ matrix_ t
Constants§
- KAS_
ARRAY_ ALIGN - KAS_
BORROWS_ ARRAY - KAS_
BUG_ ASSERT_ MESSAGE - KAS_
ERR_ BAD_ FILE_ FORMAT - KAS_
ERR_ BAD_ FLAGS - KAS_
ERR_ BAD_ MODE - KAS_
ERR_ BAD_ TYPE - KAS_
ERR_ DUPLICATE_ KEY - KAS_
ERR_ EMPTY_ KEY - KAS_
ERR_ EOF - KAS_
ERR_ GENERIC - KAS_
ERR_ ILLEGAL_ OPERATION - KAS_
ERR_ IO - KAS_
ERR_ KEY_ NOT_ FOUND - KAS_
ERR_ NO_ MEMORY - KAS_
ERR_ TYPE_ MISMATCH - KAS_
ERR_ VERSION_ TOO_ NEW - KAS_
ERR_ VERSION_ TOO_ OLD - KAS_
FILE_ VERSION_ MAJOR - KAS_
FILE_ VERSION_ MINOR - KAS_
FLOA T32 - KAS_
FLOA T64 - KAS_
GET_ TAKES_ OWNERSHIP - KAS_
HEADER_ SIZE - KAS_
INT8 - KAS_
INT16 - KAS_
INT32 - KAS_
INT64 - KAS_
ITEM_ DESCRIPTOR_ SIZE - KAS_
MAGIC - KAS_
NUM_ TYPES - KAS_
READ - KAS_
READ_ ALL - KAS_
UINT8 - KAS_
UINT16 - KAS_
UINT32 - KAS_
UINT64 - KAS_
VERSION_ MAJOR - KAS_
VERSION_ MINOR - KAS_
VERSION_ PATCH - KAS_
WRITE - TSK_
ALLELES_ ACGT - TSK_
BUG_ ASSERT_ MESSAGE - TSK_
CHECK_ EDGE_ ORDERING - TSK_
CHECK_ INDEXES - TSK_
CHECK_ INDIVIDUAL_ ORDERING - TSK_
CHECK_ MIGRATION_ ORDERING - TSK_
CHECK_ MUTATION_ ORDERING - TSK_
CHECK_ SITE_ DUPLICATES - TSK_
CHECK_ SITE_ ORDERING - TSK_
CHECK_ TREES - TSK_
CLEAR_ METADATA_ SCHEMAS - TSK_
CLEAR_ PROVENANCE - TSK_
CLEAR_ TS_ METADATA_ AND_ SCHEMA - TSK_
CMP_ IGNORE_ METADATA - TSK_
CMP_ IGNORE_ PROVENANCE - TSK_
CMP_ IGNORE_ REFERENCE_ SEQUENCE - TSK_
CMP_ IGNORE_ TABLES - TSK_
CMP_ IGNORE_ TIMESTAMPS - TSK_
CMP_ IGNORE_ TS_ METADATA - TSK_
COPY_ FILE_ UUID - TSK_
DEBUG - TSK_
DIR_ FORWARD - TSK_
DIR_ REVERSE - TSK_
DUMP_ FORCE_ OFFSET_ 64 - TSK_
ERR_ ALLELE_ NOT_ FOUND - TSK_
ERR_ BAD_ ANCESTRAL_ STATE - TSK_
ERR_ BAD_ COLUMN_ TYPE - TSK_
ERR_ BAD_ COMPRESSED_ MATRIX_ NODE - TSK_
ERR_ BAD_ EDGES_ CONTRADICTORY_ CHILDREN - TSK_
ERR_ BAD_ EDGE_ INTERVAL - TSK_
ERR_ BAD_ GENOTYPE - TSK_
ERR_ BAD_ NODE_ TIME_ ORDERING - TSK_
ERR_ BAD_ NUM_ WINDOWS - TSK_
ERR_ BAD_ OFFSET - TSK_
ERR_ BAD_ PARAM_ VALUE - TSK_
ERR_ BAD_ RESULT_ DIMS - TSK_
ERR_ BAD_ SAMPLES - TSK_
ERR_ BAD_ SAMPLE_ SET_ INDEX - TSK_
ERR_ BAD_ SEQUENCE_ LENGTH - TSK_
ERR_ BAD_ SITE_ POSITION - TSK_
ERR_ BAD_ STATE_ DIMS - TSK_
ERR_ BAD_ TABLE_ POSITION - TSK_
ERR_ BAD_ WINDOWS - TSK_
ERR_ BOTH_ COLUMNS_ REQUIRED - TSK_
ERR_ BUFFER_ OVERFLOW - TSK_
ERR_ CANNOT_ EXTEND_ FROM_ SELF - TSK_
ERR_ CANT_ PROCESS_ EDGES_ WITH_ METADATA - TSK_
ERR_ CANT_ TAKE_ OWNERSHIP_ NO_ EDGE_ METADATA - TSK_
ERR_ COLUMN_ OVERFLOW - TSK_
ERR_ DUPLICATE_ EDGES - TSK_
ERR_ DUPLICATE_ SAMPLE - TSK_
ERR_ DUPLICATE_ SITE_ POSITION - TSK_
ERR_ EDGES_ NONCONTIGUOUS_ PARENTS - TSK_
ERR_ EDGES_ NOT_ SORTED_ CHILD - TSK_
ERR_ EDGES_ NOT_ SORTED_ LEFT - TSK_
ERR_ EDGES_ NOT_ SORTED_ PARENT_ TIME - TSK_
ERR_ EDGE_ OUT_ OF_ BOUNDS - TSK_
ERR_ EMPTY_ SAMPLE_ SET - TSK_
ERR_ EOF - TSK_
ERR_ FILE_ FORMAT - TSK_
ERR_ FILE_ VERSION_ TOO_ NEW - TSK_
ERR_ FILE_ VERSION_ TOO_ OLD - TSK_
ERR_ GENERATE_ UUID - TSK_
ERR_ GENERIC - TSK_
ERR_ GENOME_ COORDS_ NONFINITE - TSK_
ERR_ GENOTYPES_ ALL_ MISSING - TSK_
ERR_ IBD_ PAIRS_ NOT_ STORED - TSK_
ERR_ IBD_ SEGMENTS_ NOT_ STORED - TSK_
ERR_ INDIVIDUAL_ OUT_ OF_ BOUNDS - TSK_
ERR_ INDIVIDUAL_ PARENT_ CYCLE - TSK_
ERR_ INDIVIDUAL_ POPULATION_ MISMATCH - TSK_
ERR_ INDIVIDUAL_ SELF_ PARENT - TSK_
ERR_ INDIVIDUAL_ TIME_ MISMATCH - TSK_
ERR_ INSUFFICIENT_ INDEX_ TUPLES - TSK_
ERR_ INSUFFICIENT_ SAMPLE_ SETS - TSK_
ERR_ IO - TSK_
ERR_ KEEP_ UNARY_ MUTUALLY_ EXCLUSIVE - TSK_
ERR_ LEFT_ LESS_ ZERO - TSK_
ERR_ MATCH_ IMPOSSIBLE - TSK_
ERR_ METADATA_ DISABLED - TSK_
ERR_ MIGRATIONS_ NOT_ SUPPORTED - TSK_
ERR_ MIGRATION_ OUT_ OF_ BOUNDS - TSK_
ERR_ MULTIPLE_ ROOTS - TSK_
ERR_ MULTIPLE_ STAT_ MODES - TSK_
ERR_ MUST_ IMPUTE_ NON_ SAMPLES - TSK_
ERR_ MUTATION_ OUT_ OF_ BOUNDS - TSK_
ERR_ MUTATION_ PARENT_ AFTER_ CHILD - TSK_
ERR_ MUTATION_ PARENT_ DIFFERENT_ SITE - TSK_
ERR_ MUTATION_ PARENT_ EQUAL - TSK_
ERR_ MUTATION_ PARENT_ INCONSISTENT - TSK_
ERR_ MUTATION_ TIME_ HAS_ BOTH_ KNOWN_ AND_ UNKNOWN - TSK_
ERR_ MUTATION_ TIME_ OLDER_ THAN_ PARENT_ MUTATION - TSK_
ERR_ MUTATION_ TIME_ OLDER_ THAN_ PARENT_ NODE - TSK_
ERR_ MUTATION_ TIME_ YOUNGER_ THAN_ NODE - TSK_
ERR_ NODE_ OUT_ OF_ BOUNDS - TSK_
ERR_ NONBINARY_ MUTATIONS_ UNSUPPORTED - TSK_
ERR_ NO_ MEMORY - TSK_
ERR_ NO_ SAMPLE_ LISTS - TSK_
ERR_ NULL_ CHILD - TSK_
ERR_ NULL_ PARENT - TSK_
ERR_ NULL_ VITERBI_ MATRIX - TSK_
ERR_ ONLY_ INFINITE_ SITES - TSK_
ERR_ POPULATION_ OUT_ OF_ BOUNDS - TSK_
ERR_ PROVENANCE_ OUT_ OF_ BOUNDS - TSK_
ERR_ REQUIRED_ COL_ NOT_ FOUND - TSK_
ERR_ RIGHT_ GREATER_ SEQ_ LENGTH - TSK_
ERR_ SAME_ NODES_ IN_ PAIR - TSK_
ERR_ SAMPLES_ NOT_ EQUAL - TSK_
ERR_ SAMPLE_ SIZE_ MISMATCH - TSK_
ERR_ SEEK_ OUT_ OF_ BOUNDS - TSK_
ERR_ SEQUENCE_ LENGTH_ MISMATCH - TSK_
ERR_ SILENT_ MUTATIONS_ NOT_ SUPPORTED - TSK_
ERR_ SIMPLIFY_ MIGRATIONS_ NOT_ SUPPORTED - TSK_
ERR_ SITE_ OUT_ OF_ BOUNDS - TSK_
ERR_ SORT_ MIGRATIONS_ NOT_ SUPPORTED - TSK_
ERR_ SORT_ OFFSET_ NOT_ SUPPORTED - TSK_
ERR_ TABLES_ BAD_ INDEXES - TSK_
ERR_ TABLES_ NOT_ INDEXED - TSK_
ERR_ TABLE_ OVERFLOW - TSK_
ERR_ TIME_ NONFINITE - TSK_
ERR_ TIME_ UNCALIBRATED - TSK_
ERR_ TOO_ MANY_ ALLELES - TSK_
ERR_ TOO_ MANY_ VALUES - TSK_
ERR_ TREE_ OVERFLOW - TSK_
ERR_ UNARY_ NODES - TSK_
ERR_ UNDEFINED_ MULTIROOT - TSK_
ERR_ UNDEFINED_ NONBINARY - TSK_
ERR_ UNION_ BAD_ MAP - TSK_
ERR_ UNION_ DIFF_ HISTORIES - TSK_
ERR_ UNSORTED_ INDIVIDUALS - TSK_
ERR_ UNSORTED_ MIGRATIONS - TSK_
ERR_ UNSORTED_ MUTATIONS - TSK_
ERR_ UNSORTED_ SITES - TSK_
ERR_ UNSUPPORTED_ OPERATION - TSK_
ERR_ UNSUPPORTED_ STAT_ MODE - TSK_
ERR_ VARIANT_ CANT_ DECODE_ COPY - TSK_
ERR_ ZERO_ ALLELES - TSK_
FILE_ FORMAT_ NAME - TSK_
FILE_ FORMAT_ NAME_ LENGTH - TSK_
FILE_ FORMAT_ VERSION_ MAJOR - TSK_
FILE_ FORMAT_ VERSION_ MINOR - TSK_
IBD_ STORE_ PAIRS - TSK_
IBD_ STORE_ SEGMENTS - TSK_
INCLUDE_ TERMINAL - TSK_
ISOLATED_ NOT_ MISSING - TSK_
KAS_ ERR_ BIT - TSK_
LOAD_ SKIP_ REFERENCE_ SEQUENCE - TSK_
LOAD_ SKIP_ TABLES - TSK_
MAX_ ID - TSK_
MISSING_ DATA - TSK_
MM_ FIXED_ ANCESTRAL_ STATE - TSK_
NEWICK_ LEGACY_ MS_ LABELS - TSK_
NODE_ IS_ SAMPLE - TSK_
NO_ CHECK_ INTEGRITY - TSK_
NO_ CHECK_ POPULATION_ REFS - TSK_
NO_ INIT - TSK_
NO_ SAMPLE_ COUNTS - TSK_
SAMPLE_ LISTS - TSK_
SIMPLIFY_ FILTER_ INDIVIDUALS - TSK_
SIMPLIFY_ FILTER_ POPULATIONS - TSK_
SIMPLIFY_ FILTER_ SITES - TSK_
SIMPLIFY_ KEEP_ INPUT_ ROOTS - TSK_
SIMPLIFY_ KEEP_ UNARY - TSK_
SIMPLIFY_ KEEP_ UNARY_ IN_ INDIVIDUALS - TSK_
SIMPLIFY_ REDUCE_ TO_ SITE_ TOPOLOGY - TSK_
STAT_ ALLOW_ TIME_ UNCALIBRATED - TSK_
STAT_ BRANCH - TSK_
STAT_ NODE - TSK_
STAT_ POLARISED - TSK_
STAT_ SITE - TSK_
STAT_ SPAN_ NORMALISE - TSK_
SUBSET_ KEEP_ UNREFERENCED - TSK_
SUBSET_ NO_ CHANGE_ POPULATIONS - TSK_
TABLE_ NO_ METADATA - TSK_
TAKE_ OWNERSHIP - TSK_
TC_ NO_ EDGE_ METADATA - TSK_
TIME_ UNITS_ UNCALIBRATED - TSK_
TIME_ UNITS_ UNKNOWN - TSK_
TREE_ OK - TSK_
TS_ INIT_ BUILD_ INDEXES - TSK_
UNION_ NO_ ADD_ POP - TSK_
UNION_ NO_ CHECK_ SHARED - TSK_
UNKNOWN_ TIME_ HEX - TSK_
UUID_ SIZE - TSK_
VERSION_ MAJOR - TSK_
VERSION_ MINOR - TSK_
VERSION_ PATCH
Functions§
- kastore_
close ⚠ - @brief Close an opened store, freeing all resources.
- kastore_
contains ⚠ - @brief Return 1 if the store contains the specified key and 0 if it does not.
- kastore_
containss ⚠ - @brief Return 1 if the store contains the specified NULL terminated key and 0 if it does not.
- kastore_
get ⚠ - @brief Get the array for the specified key.
- kastore_
gets ⚠ - @brief Get the array for the specified NULL-terminated key.
- kastore_
gets_ ⚠float32 - kastore_
gets_ ⚠float64 - kastore_
gets_ ⚠int8 - @defgroup TYPED_GETS_GROUP Typed get functions. @{
- kastore_
gets_ ⚠int16 - kastore_
gets_ ⚠int32 - kastore_
gets_ ⚠int64 - kastore_
gets_ ⚠uint8 - kastore_
gets_ ⚠uint16 - kastore_
gets_ ⚠uint32 - kastore_
gets_ ⚠uint64 - kastore_
open ⚠ - @brief Open a store from a given file in read (“r”), write (“w”) or append (“a”) mode.
- kastore_
openf ⚠ - @brief Open a store from a given FILE pointer.
- kastore_
oput ⚠ - @brief Insert the specified key-array pair into the store, transferring ownership of the malloced array buffer to the store (own-put).
- kastore_
oputs ⚠ - @brief Insert the specified NULL terminated key and array pair into the store, transferring ownership of the malloced array buffer to the store (own-put).
- kastore_
oputs_ ⚠float32 - kastore_
oputs_ ⚠float64 - kastore_
oputs_ ⚠int8 - @defgroup TYPED_OPUTS_GROUP Typed own-and-put functions. @{
- kastore_
oputs_ ⚠int16 - kastore_
oputs_ ⚠int32 - kastore_
oputs_ ⚠int64 - kastore_
oputs_ ⚠uint8 - kastore_
oputs_ ⚠uint16 - kastore_
oputs_ ⚠uint32 - kastore_
oputs_ ⚠uint64 - kastore_
print_ ⚠state - @}
- kastore_
put ⚠ - @brief Insert the specified key-array pair into the store.
- kastore_
puts ⚠ - @brief Insert the specified NULL terminated key and array pair into the store.
- kastore_
puts_ ⚠float32 - kastore_
puts_ ⚠float64 - kastore_
puts_ ⚠int8 - @defgroup TYPED_PUTS_GROUP Typed put functions. @{
- kastore_
puts_ ⚠int16 - kastore_
puts_ ⚠int32 - kastore_
puts_ ⚠int64 - kastore_
puts_ ⚠uint8 - kastore_
puts_ ⚠uint16 - kastore_
puts_ ⚠uint32 - kastore_
puts_ ⚠uint64 - tsk_
avl_ ⚠tree_ int_ free - tsk_
avl_ ⚠tree_ int_ get_ root - tsk_
avl_ ⚠tree_ int_ init - tsk_
avl_ ⚠tree_ int_ insert - tsk_
avl_ ⚠tree_ int_ ordered_ nodes - tsk_
avl_ ⚠tree_ int_ print_ state - tsk_
avl_ ⚠tree_ int_ search - tsk_
blkalloc_ ⚠free - tsk_
blkalloc_ ⚠get - tsk_
blkalloc_ ⚠init - tsk_
blkalloc_ ⚠print_ state - tsk_
blkalloc_ ⚠reset - tsk_
calloc ⚠ - tsk_
compressed_ ⚠matrix_ clear - tsk_
compressed_ ⚠matrix_ decode - tsk_
compressed_ ⚠matrix_ free - tsk_
compressed_ ⚠matrix_ init - tsk_
compressed_ ⚠matrix_ print_ state - tsk_
compressed_ ⚠matrix_ store_ site - tsk_
convert_ ⚠newick - tsk_
diff_ ⚠iter_ free - tsk_
diff_ ⚠iter_ init - tsk_
diff_ ⚠iter_ next - tsk_
diff_ ⚠iter_ print_ state - tsk_
edge_ ⚠table_ add_ row - @brief Adds a row to this edge table.
- tsk_
edge_ ⚠table_ append_ columns - @brief Extends this table by copying from a set of column arrays
- tsk_
edge_ ⚠table_ clear - @brief Clears this table, setting the number of rows to zero.
- tsk_
edge_ ⚠table_ copy - @brief Copies the state of this table into the specified destination.
- tsk_
edge_ ⚠table_ dump_ text - @}
- tsk_
edge_ ⚠table_ equals - @brief Returns true if the data in the specified table is identical to the data in this table.
- tsk_
edge_ ⚠table_ extend - @brief Extends this table by appending rows copied from another table.
- tsk_
edge_ ⚠table_ free - @brief Free the internal memory for the specified table.
- tsk_
edge_ ⚠table_ get_ row - @brief Get the row at the specified index.
- tsk_
edge_ ⚠table_ init - @brief Initialises the table by allocating the internal memory.
- tsk_
edge_ ⚠table_ print_ state - @brief Print out the state of this table to the specified stream.
- tsk_
edge_ ⚠table_ set_ columns - @brief Replace this table’s data by copying from a set of column arrays
- tsk_
edge_ ⚠table_ set_ max_ metadata_ length_ increment - @brief Controls the pre-allocation strategy for the metadata column
- tsk_
edge_ ⚠table_ set_ max_ rows_ increment - @brief Controls the pre-allocation strategy for this table
- tsk_
edge_ ⚠table_ set_ metadata_ schema - @brief Set the metadata schema @rst Copies the metadata schema string to this table, replacing any existing. @endrst @param self A pointer to a tsk_edge_table_t object. @param metadata_schema A pointer to a char array @param metadata_schema_length The size of the metadata schema in bytes. @return Return 0 on success or a negative value on failure.
- tsk_
edge_ ⚠table_ squash - @brief Squash adjacent edges in-place
- tsk_
edge_ ⚠table_ takeset_ columns - tsk_
edge_ ⚠table_ truncate - @brief Truncates this table so that only the first num_rows are retained.
- tsk_
edge_ ⚠table_ update_ row - @brief Updates the row at the specified index.
- tsk_
generate_ ⚠uuid - tsk_
get_ ⚠debug_ stream - tsk_
get_ ⚠kas_ error - tsk_
identity_ ⚠segments_ free - tsk_
identity_ ⚠segments_ get - tsk_
identity_ ⚠segments_ get_ items - tsk_
identity_ ⚠segments_ get_ keys - tsk_
identity_ ⚠segments_ get_ num_ pairs - tsk_
identity_ ⚠segments_ get_ num_ segments - tsk_
identity_ ⚠segments_ get_ total_ span - tsk_
identity_ ⚠segments_ print_ state - tsk_
individual_ ⚠table_ add_ row - @brief Adds a row to this individual table.
- tsk_
individual_ ⚠table_ append_ columns - @brief Extends this table by copying from a set of column arrays
- tsk_
individual_ ⚠table_ clear - @brief Clears this table, setting the number of rows to zero.
- tsk_
individual_ ⚠table_ copy - @brief Copies the state of this table into the specified destination.
- tsk_
individual_ ⚠table_ dump_ text - @}
- tsk_
individual_ ⚠table_ equals - @brief Returns true if the data in the specified table is identical to the data in this table.
- tsk_
individual_ ⚠table_ extend - @brief Extends this table by appending rows copied from another table.
- tsk_
individual_ ⚠table_ free - @brief Free the internal memory for the specified table.
- tsk_
individual_ ⚠table_ get_ row - @brief Get the row at the specified index.
- tsk_
individual_ ⚠table_ init - @brief Initialises the table by allocating the internal memory.
- tsk_
individual_ ⚠table_ print_ state - @brief Print out the state of this table to the specified stream.
- tsk_
individual_ ⚠table_ set_ columns - @brief Replace this table’s data by copying from a set of column arrays
- tsk_
individual_ ⚠table_ set_ max_ location_ length_ increment - @brief Controls the pre-allocation strategy for the location column
- tsk_
individual_ ⚠table_ set_ max_ metadata_ length_ increment - @brief Controls the pre-allocation strategy for the metadata column
- tsk_
individual_ ⚠table_ set_ max_ parents_ length_ increment - @brief Controls the pre-allocation strategy for the parents column
- tsk_
individual_ ⚠table_ set_ max_ rows_ increment - @brief Controls the pre-allocation strategy for this table
- tsk_
individual_ ⚠table_ set_ metadata_ schema - @brief Set the metadata schema
- tsk_
individual_ ⚠table_ takeset_ columns - tsk_
individual_ ⚠table_ truncate - @brief Truncates this table so that only the first num_rows are retained.
- tsk_
individual_ ⚠table_ update_ row - @brief Updates the row at the specified index.
- tsk_
is_ ⚠kas_ error - tsk_
is_ ⚠unknown_ time - @brief Check if a number is
TSK_UNKNOWN_TIME - tsk_
isfinite ⚠ - tsk_
isnan ⚠ - tsk_
ld_ ⚠calc_ free - tsk_
ld_ ⚠calc_ get_ r2 - tsk_
ld_ ⚠calc_ get_ r2_ array - tsk_
ld_ ⚠calc_ init - tsk_
ld_ ⚠calc_ print_ state - tsk_
ls_ ⚠hmm_ forward - tsk_
ls_ ⚠hmm_ free - tsk_
ls_ ⚠hmm_ init - tsk_
ls_ ⚠hmm_ print_ state - tsk_
ls_ ⚠hmm_ run - tsk_
ls_ ⚠hmm_ set_ precision - tsk_
ls_ ⚠hmm_ viterbi - tsk_
malloc ⚠ - tsk_
memcmp ⚠ - tsk_
memcpy ⚠ - tsk_
memmove ⚠ - tsk_
memset ⚠ - tsk_
migration_ ⚠table_ add_ row - @brief Adds a row to this migration table.
- tsk_
migration_ ⚠table_ append_ columns - @brief Extends this table by copying from a set of column arrays
- tsk_
migration_ ⚠table_ clear - @brief Clears this table, setting the number of rows to zero.
- tsk_
migration_ ⚠table_ copy - @brief Copies the state of this table into the specified destination.
- tsk_
migration_ ⚠table_ dump_ text - @}
- tsk_
migration_ ⚠table_ equals - @brief Returns true if the data in the specified table is identical to the data in this table.
- tsk_
migration_ ⚠table_ extend - @brief Extends this table by appending rows copied from another table.
- tsk_
migration_ ⚠table_ free - @brief Free the internal memory for the specified table.
- tsk_
migration_ ⚠table_ get_ row - @brief Get the row at the specified index.
- tsk_
migration_ ⚠table_ init - @brief Initialises the table by allocating the internal memory.
- tsk_
migration_ ⚠table_ print_ state - @brief Print out the state of this table to the specified stream.
- tsk_
migration_ ⚠table_ set_ columns - @brief Replace this table’s data by copying from a set of column arrays
- tsk_
migration_ ⚠table_ set_ max_ metadata_ length_ increment - @brief Controls the pre-allocation strategy for the metadata column
- tsk_
migration_ ⚠table_ set_ max_ rows_ increment - @brief Controls the pre-allocation strategy for this table
- tsk_
migration_ ⚠table_ set_ metadata_ schema - @brief Set the metadata schema @rst Copies the metadata schema string to this table, replacing any existing. @endrst @param self A pointer to a tsk_migration_table_t object. @param metadata_schema A pointer to a char array. @param metadata_schema_length The size of the metadata schema in bytes. @return Return 0 on success or a negative value on failure.
- tsk_
migration_ ⚠table_ takeset_ columns - tsk_
migration_ ⚠table_ truncate - @brief Truncates this table so that only the first num_rows are retained.
- tsk_
migration_ ⚠table_ update_ row - @brief Updates the row at the specified index.
- tsk_
mutation_ ⚠table_ add_ row - @brief Adds a row to this mutation table.
- tsk_
mutation_ ⚠table_ append_ columns - @brief Extends this table by copying from a set of column arrays
- tsk_
mutation_ ⚠table_ clear - @brief Clears this table, setting the number of rows to zero.
- tsk_
mutation_ ⚠table_ copy - @brief Copies the state of this table into the specified destination.
- tsk_
mutation_ ⚠table_ dump_ text - @}
- tsk_
mutation_ ⚠table_ equals - @brief Returns true if the data in the specified table is identical to the data in this table.
- tsk_
mutation_ ⚠table_ extend - @brief Extends this table by appending rows copied from another table.
- tsk_
mutation_ ⚠table_ free - @brief Free the internal memory for the specified table.
- tsk_
mutation_ ⚠table_ get_ row - @brief Get the row at the specified index.
- tsk_
mutation_ ⚠table_ init - @brief Initialises the table by allocating the internal memory.
- tsk_
mutation_ ⚠table_ print_ state - @brief Print out the state of this table to the specified stream.
- tsk_
mutation_ ⚠table_ set_ columns - @brief Replace this table’s data by copying from a set of column arrays
- tsk_
mutation_ ⚠table_ set_ max_ derived_ state_ length_ increment - @brief Controls the pre-allocation strategy for the derived_state column
- tsk_
mutation_ ⚠table_ set_ max_ metadata_ length_ increment - @brief Controls the pre-allocation strategy for the metadata column
- tsk_
mutation_ ⚠table_ set_ max_ rows_ increment - @brief Controls the pre-allocation strategy for this table
- tsk_
mutation_ ⚠table_ set_ metadata_ schema - @brief Set the metadata schema @rst Copies the metadata schema string to this table, replacing any existing. @endrst @param self A pointer to a tsk_mutation_table_t object. @param metadata_schema A pointer to a char array. @param metadata_schema_length The size of the metadata schema in bytes. @return Return 0 on success or a negative value on failure.
- tsk_
mutation_ ⚠table_ takeset_ columns - tsk_
mutation_ ⚠table_ truncate - @brief Truncates this table so that only the first num_rows are retained.
- tsk_
mutation_ ⚠table_ update_ row - @brief Updates the row at the specified index.
- tsk_
node_ ⚠table_ add_ row - @brief Adds a row to this node table.
- tsk_
node_ ⚠table_ append_ columns - @brief Extends this table by copying from a set of column arrays
- tsk_
node_ ⚠table_ clear - @brief Clears this table, setting the number of rows to zero.
- tsk_
node_ ⚠table_ copy - @brief Copies the state of this table into the specified destination.
- tsk_
node_ ⚠table_ dump_ text - @}
- tsk_
node_ ⚠table_ equals - @brief Returns true if the data in the specified table is identical to the data in this table.
- tsk_
node_ ⚠table_ extend - @brief Extends this table by appending rows copied from another table.
- tsk_
node_ ⚠table_ free - @brief Free the internal memory for the specified table.
- tsk_
node_ ⚠table_ get_ row - @brief Get the row at the specified index.
- tsk_
node_ ⚠table_ init - @brief Initialises the table by allocating the internal memory.
- tsk_
node_ ⚠table_ print_ state - @brief Print out the state of this table to the specified stream.
- tsk_
node_ ⚠table_ set_ columns - @brief Replace this table’s data by copying from a set of column arrays
- tsk_
node_ ⚠table_ set_ max_ metadata_ length_ increment - @brief Controls the pre-allocation strategy for the metadata column
- tsk_
node_ ⚠table_ set_ max_ rows_ increment - @brief Controls the pre-allocation strategy for this table
- tsk_
node_ ⚠table_ set_ metadata_ schema - @brief Set the metadata schema @rst Copies the metadata schema string to this table, replacing any existing. @endrst @param self A pointer to a tsk_node_table_t object. @param metadata_schema A pointer to a char array. @param metadata_schema_length The size of the metadata schema in bytes. @return Return 0 on success or a negative value on failure.
- tsk_
node_ ⚠table_ takeset_ columns - tsk_
node_ ⚠table_ truncate - @brief Truncates this table so that only the first num_rows are retained.
- tsk_
node_ ⚠table_ update_ row - @brief Updates the row at the specified index.
- tsk_
population_ ⚠table_ add_ row - @brief Adds a row to this population table.
- tsk_
population_ ⚠table_ append_ columns - @brief Extends this table by copying from a set of column arrays
- tsk_
population_ ⚠table_ clear - @brief Clears this table, setting the number of rows to zero.
- tsk_
population_ ⚠table_ copy - @brief Copies the state of this table into the specified destination.
- tsk_
population_ ⚠table_ dump_ text - @}
- tsk_
population_ ⚠table_ equals - @brief Returns true if the data in the specified table is identical to the data in this table.
- tsk_
population_ ⚠table_ extend - @brief Extends this table by appending rows copied from another table.
- tsk_
population_ ⚠table_ free - @brief Free the internal memory for the specified table.
- tsk_
population_ ⚠table_ get_ row - @brief Get the row at the specified index.
- tsk_
population_ ⚠table_ init - @brief Initialises the table by allocating the internal memory.
- tsk_
population_ ⚠table_ print_ state - @brief Print out the state of this table to the specified stream.
- tsk_
population_ ⚠table_ set_ columns - @brief Replace this table’s data by copying from a set of column arrays
- tsk_
population_ ⚠table_ set_ max_ metadata_ length_ increment - @brief Controls the pre-allocation strategy for the metadata column
- tsk_
population_ ⚠table_ set_ max_ rows_ increment - @brief Controls the pre-allocation strategy for this table
- tsk_
population_ ⚠table_ set_ metadata_ schema - @brief Set the metadata schema @rst Copies the metadata schema string to this table, replacing any existing. @endrst @param self A pointer to a tsk_population_table_t object. @param metadata_schema A pointer to a char array. @param metadata_schema_length The size of the metadata schema in bytes. @return Return 0 on success or a negative value on failure.
- tsk_
population_ ⚠table_ takeset_ columns - tsk_
population_ ⚠table_ truncate - @brief Truncates this table so that only the first num_rows are retained.
- tsk_
population_ ⚠table_ update_ row - @brief Updates the row at the specified index.
- tsk_
provenance_ ⚠table_ add_ row - @brief Adds a row to this provenance table.
- tsk_
provenance_ ⚠table_ append_ columns - @brief Extends this table by copying from a set of column arrays
- tsk_
provenance_ ⚠table_ clear - @brief Clears this table, setting the number of rows to zero.
- tsk_
provenance_ ⚠table_ copy - @brief Copies the state of this table into the specified destination.
- tsk_
provenance_ ⚠table_ dump_ text - @}
- tsk_
provenance_ ⚠table_ equals - @brief Returns true if the data in the specified table is identical to the data in this table.
- tsk_
provenance_ ⚠table_ extend - @brief Extends this table by appending rows copied from another table.
- tsk_
provenance_ ⚠table_ free - @brief Free the internal memory for the specified table.
- tsk_
provenance_ ⚠table_ get_ row - @brief Get the row at the specified index.
- tsk_
provenance_ ⚠table_ init - @brief Initialises the table by allocating the internal memory.
- tsk_
provenance_ ⚠table_ print_ state - @brief Print out the state of this table to the specified stream.
- tsk_
provenance_ ⚠table_ set_ columns - @brief Replace this table’s data by copying from a set of column arrays
- tsk_
provenance_ ⚠table_ set_ max_ record_ length_ increment - @brief Controls the pre-allocation strategy for the record column
- tsk_
provenance_ ⚠table_ set_ max_ rows_ increment - @brief Controls the pre-allocation strategy for this table
- tsk_
provenance_ ⚠table_ set_ max_ timestamp_ length_ increment - @brief Controls the pre-allocation strategy for the timestamp column
- tsk_
provenance_ ⚠table_ takeset_ columns - tsk_
provenance_ ⚠table_ truncate - @brief Truncates this table so that only the first num_rows are retained.
- tsk_
provenance_ ⚠table_ update_ row - @brief Updates the row at the specified index.
- tsk_
realloc ⚠ - tsk_
reference_ ⚠sequence_ copy - tsk_
reference_ ⚠sequence_ equals - tsk_
reference_ ⚠sequence_ free - tsk_
reference_ ⚠sequence_ init - tsk_
reference_ ⚠sequence_ is_ null - tsk_
reference_ ⚠sequence_ set_ data - tsk_
reference_ ⚠sequence_ set_ metadata - tsk_
reference_ ⚠sequence_ set_ metadata_ schema - tsk_
reference_ ⚠sequence_ set_ url - tsk_
reference_ ⚠sequence_ takeset_ data - tsk_
reference_ ⚠sequence_ takeset_ metadata - tsk_
round ⚠ - tsk_
search_ ⚠sorted - tsk_
set_ ⚠debug_ stream - tsk_
set_ ⚠kas_ error - tsk_
site_ ⚠table_ add_ row - @brief Adds a row to this site table.
- tsk_
site_ ⚠table_ append_ columns - @brief Extends this table by copying from a set of column arrays
- tsk_
site_ ⚠table_ clear - @brief Clears this table, setting the number of rows to zero.
- tsk_
site_ ⚠table_ copy - @brief Copies the state of this table into the specified destination.
- tsk_
site_ ⚠table_ dump_ text - @}
- tsk_
site_ ⚠table_ equals - @brief Returns true if the data in the specified table is identical to the data in this table.
- tsk_
site_ ⚠table_ extend - @brief Extends this table by appending rows copied from another table.
- tsk_
site_ ⚠table_ free - @brief Free the internal memory for the specified table.
- tsk_
site_ ⚠table_ get_ row - @brief Get the row at the specified index.
- tsk_
site_ ⚠table_ init - @brief Initialises the table by allocating the internal memory.
- tsk_
site_ ⚠table_ print_ state - @brief Print out the state of this table to the specified stream.
- tsk_
site_ ⚠table_ set_ columns - @brief Replace this table’s data by copying from a set of column arrays
- tsk_
site_ ⚠table_ set_ max_ ancestral_ state_ length_ increment - @brief Controls the pre-allocation strategy for the ancestral_state column
- tsk_
site_ ⚠table_ set_ max_ metadata_ length_ increment - @brief Controls the pre-allocation strategy for the metadata column
- tsk_
site_ ⚠table_ set_ max_ rows_ increment - @brief Controls the pre-allocation strategy for this table
- tsk_
site_ ⚠table_ set_ metadata_ schema - @brief Set the metadata schema @rst Copies the metadata schema string to this table, replacing any existing. @endrst @param self A pointer to a tsk_site_table_t object. @param metadata_schema A pointer to a char array. @param metadata_schema_length The size of the metadata schema in bytes. @return Return 0 on success or a negative value on failure.
- tsk_
site_ ⚠table_ takeset_ columns - tsk_
site_ ⚠table_ truncate - @brief Truncates this table so that only the first num_rows are retained.
- tsk_
site_ ⚠table_ update_ row - @brief Updates the row at the specified index.
- tsk_
squash_ ⚠edges - @}
- tsk_
strerror ⚠ - @brief Return a description of the specified error.
- tsk_
table_ ⚠collection_ build_ index - @brief Builds indexes for this table collection.
- tsk_
table_ ⚠collection_ canonicalise - @brief Puts the tables into canonical form.
- tsk_
table_ ⚠collection_ check_ integrity - @brief Runs integrity checks on this table collection.
- tsk_
table_ ⚠collection_ clear - @brief Clears data tables (and optionally provenances and metadata) in this table collection.
- tsk_
table_ ⚠collection_ compute_ mutation_ parents - tsk_
table_ ⚠collection_ compute_ mutation_ times - tsk_
table_ ⚠collection_ copy - @brief Copies the state of this table collection into the specified destination.
- tsk_
table_ ⚠collection_ deduplicate_ sites - tsk_
table_ ⚠collection_ delete_ older - tsk_
table_ ⚠collection_ drop_ index - @brief Deletes the indexes for this table collection.
- tsk_
table_ ⚠collection_ dump - @brief Write a table collection to file.
- tsk_
table_ ⚠collection_ dumpf - @brief Write a table collection to a stream.
- tsk_
table_ ⚠collection_ equals - @brief Returns true if the data in the specified table collection is equal to the data in this table collection.
- tsk_
table_ ⚠collection_ free - @brief Free the internal memory for the specified table collection.
- tsk_
table_ ⚠collection_ has_ index - @brief Returns true if this table collection is indexed.
- tsk_
table_ ⚠collection_ has_ reference_ sequence - tsk_
table_ ⚠collection_ ibd_ between - tsk_
table_ ⚠collection_ ibd_ within - tsk_
table_ ⚠collection_ individual_ topological_ sort - @brief Sorts the individual table in this collection.
- tsk_
table_ ⚠collection_ init - @brief Initialises the table collection by allocating the internal memory and initialising all the constituent tables.
- tsk_
table_ ⚠collection_ link_ ancestors - tsk_
table_ ⚠collection_ load - @brief Load a table collection from a file path.
- tsk_
table_ ⚠collection_ loadf - @brief Load a table collection from a stream.
- tsk_
table_ ⚠collection_ print_ state - @brief Print out the state of this table collection to the specified stream.
- tsk_
table_ ⚠collection_ record_ num_ rows - @brief Record the number of rows in each table in the specified tsk_bookmark_t object.
- tsk_
table_ ⚠collection_ set_ indexes - tsk_
table_ ⚠collection_ set_ metadata - @brief Set the metadata @rst Copies the metadata string to this table collection, replacing any existing. @endrst @param self A pointer to a tsk_table_collection_t object. @param metadata A pointer to a char array. @param metadata_length The size of the metadata in bytes. @return Return 0 on success or a negative value on failure.
- tsk_
table_ ⚠collection_ set_ metadata_ schema - @brief Set the metadata schema @rst Copies the metadata schema string to this table collection, replacing any existing. @endrst @param self A pointer to a tsk_table_collection_t object. @param metadata_schema A pointer to a char array. @param metadata_schema_length The size of the metadata schema in bytes. @return Return 0 on success or a negative value on failure.
- tsk_
table_ ⚠collection_ set_ time_ units - @brief Set the time_units @rst Copies the time_units string to this table collection, replacing any existing. @endrst @param self A pointer to a tsk_table_collection_t object. @param time_units A pointer to a char array. @param time_units_length The size of the time units string in bytes. @return Return 0 on success or a negative value on failure.
- tsk_
table_ ⚠collection_ simplify - @brief Simplify the tables to remove redundant information.
- tsk_
table_ ⚠collection_ sort - @brief Sorts the tables in this collection.
- tsk_
table_ ⚠collection_ subset - @brief Subsets and reorders a table collection according to an array of nodes.
- tsk_
table_ ⚠collection_ takeset_ indexes - tsk_
table_ ⚠collection_ takeset_ metadata - tsk_
table_ ⚠collection_ truncate - @brief Truncates the tables in this table collection according to the specified bookmark.
- tsk_
table_ ⚠collection_ union - @brief Forms the node-wise union of two table collections.
- tsk_
table_ ⚠sorter_ free - @brief Free the internal memory for the specified table sorter.
- tsk_
table_ ⚠sorter_ init - @brief Initialises the memory for the sorter object.
- tsk_
table_ ⚠sorter_ run - @brief Runs the sort using the configured functions.
- tsk_
tree_ ⚠b1_ index - tsk_
tree_ ⚠b2_ index - tsk_
tree_ ⚠clear - @brief Set the tree into the null state.
- tsk_
tree_ ⚠colless_ index - tsk_
tree_ ⚠copy - @brief Copies the state of this tree into the specified destination.
- tsk_
tree_ ⚠equals - tsk_
tree_ ⚠first - @brief Seek to the first tree in the sequence.
- tsk_
tree_ ⚠free - @brief Free the internal memory for the specified tree.
- tsk_
tree_ ⚠get_ branch_ length - @brief Return the length of the branch ancestral to the specified node.
- tsk_
tree_ ⚠get_ depth - @brief Return number of nodes on the path from the specified node to root.
- tsk_
tree_ ⚠get_ left_ root - @brief Returns the leftmost root in this tree.
- tsk_
tree_ ⚠get_ mrca - @brief Compute the most recent common ancestor of two nodes.
- tsk_
tree_ ⚠get_ num_ roots - @brief Returns the number of roots in this tree.
- tsk_
tree_ ⚠get_ num_ samples - @brief Counts the number of samples in the subtree rooted at a node.
- tsk_
tree_ ⚠get_ num_ tracked_ samples - tsk_
tree_ ⚠get_ parent - @brief Returns the parent of the specified node.
- tsk_
tree_ ⚠get_ right_ root - @brief Returns the rightmost root in this tree.
- tsk_
tree_ ⚠get_ root_ threshold - tsk_
tree_ ⚠get_ sites - @brief Get the list of sites for this tree.
- tsk_
tree_ ⚠get_ size_ bound - @brief Return an upper bound on the number of nodes reachable from the roots of this tree.
- tsk_
tree_ ⚠get_ time - @brief Returns the time of the specified node.
- tsk_
tree_ ⚠get_ total_ branch_ length - @brief Computes the sum of the lengths of all branches reachable from
the specified node, or from all roots if
u=TSK_NULL. - tsk_
tree_ ⚠has_ sample_ counts - tsk_
tree_ ⚠has_ sample_ lists - tsk_
tree_ ⚠init - @brief Initialises the tree by allocating internal memory and associating with the specified tree sequence.
- tsk_
tree_ ⚠is_ descendant - @brief Returns true if u is a descendant of v.
- tsk_
tree_ ⚠is_ sample - tsk_
tree_ ⚠kc_ distance - tsk_
tree_ ⚠last - @brief Seek to the last tree in the sequence.
- tsk_
tree_ ⚠map_ mutations - tsk_
tree_ ⚠next - @brief Seek to the next tree in the sequence.
- tsk_
tree_ ⚠num_ lineages - tsk_
tree_ ⚠postorder - @brief Fill an array with the nodes of this tree in postorder.
- tsk_
tree_ ⚠postorder_ from - @brief Fill an array with the nodes of this tree starting from a particular node.
- tsk_
tree_ ⚠preorder - @brief Fill an array with the nodes of this tree in preorder.
- tsk_
tree_ ⚠preorder_ from - @brief Fill an array with the nodes of this tree starting from a particular node.
- tsk_
tree_ ⚠preorder_ samples_ from - @}
- tsk_
tree_ ⚠prev - @brief Seek to the previous tree in the sequence.
- tsk_
tree_ ⚠print_ state - @brief Print out the state of this tree to the specified stream.
- tsk_
tree_ ⚠sackin_ index - tsk_
tree_ ⚠seek - @brief Seek to a particular position on the genome.
- tsk_
tree_ ⚠set_ root_ threshold - tsk_
tree_ ⚠set_ tracked_ samples - tsk_
tree_ ⚠track_ descendant_ samples - tsk_
treeseq_ ⚠Y1 - tsk_
treeseq_ ⚠Y2 - tsk_
treeseq_ ⚠Y3 - tsk_
treeseq_ ⚠allele_ frequency_ spectrum - tsk_
treeseq_ ⚠copy_ tables - @brief Copies the state of the table collection underlying this tree sequence into the specified destination table collection.
- tsk_
treeseq_ ⚠divergence - tsk_
treeseq_ ⚠diversity - tsk_
treeseq_ ⚠dump - @brief Write a tree sequence to file.
- tsk_
treeseq_ ⚠dumpf - @brief Write a tree sequence to a stream.
- tsk_
treeseq_ ⚠f2 - tsk_
treeseq_ ⚠f3 - tsk_
treeseq_ ⚠f4 - tsk_
treeseq_ ⚠free - @brief Free the internal memory for the specified tree sequence.
- tsk_
treeseq_ ⚠genealogical_ nearest_ neighbours - tsk_
treeseq_ ⚠general_ stat - tsk_
treeseq_ ⚠genetic_ relatedness - tsk_
treeseq_ ⚠get_ breakpoints - @brief Get the breakpoints
- tsk_
treeseq_ ⚠get_ discrete_ genome - @brief Get the discrete genome status
- tsk_
treeseq_ ⚠get_ discrete_ time - @brief Get the discrete time status
- tsk_
treeseq_ ⚠get_ edge - @brief Get a edge by its index
- tsk_
treeseq_ ⚠get_ file_ uuid - @brief Get the file uuid
- tsk_
treeseq_ ⚠get_ individual - @brief Get a individual by its index
- tsk_
treeseq_ ⚠get_ individuals_ population - tsk_
treeseq_ ⚠get_ individuals_ time - tsk_
treeseq_ ⚠get_ metadata - @brief Get the top-level tree sequence metadata.
- tsk_
treeseq_ ⚠get_ metadata_ length - @brief Get the length of top-level tree sequence metadata
- tsk_
treeseq_ ⚠get_ metadata_ schema - @brief Get the top-level tree sequence metadata schema.
- tsk_
treeseq_ ⚠get_ metadata_ schema_ length - @brief Get the length of the top-level tree sequence metadata schema.
- tsk_
treeseq_ ⚠get_ migration - @brief Get a edge by its index
- tsk_
treeseq_ ⚠get_ mutation - @brief Get a mutation by its index
- tsk_
treeseq_ ⚠get_ node - @brief Get a node by its index
- tsk_
treeseq_ ⚠get_ num_ edges - @brief Get the number of edges
- tsk_
treeseq_ ⚠get_ num_ individuals - @brief Get the number of individuals
- tsk_
treeseq_ ⚠get_ num_ migrations - @brief Get the number of migrations
- tsk_
treeseq_ ⚠get_ num_ mutations - @brief Get the number of mutations
- tsk_
treeseq_ ⚠get_ num_ nodes - @brief Get the number of nodes
- tsk_
treeseq_ ⚠get_ num_ populations - @brief Get the number of populations
- tsk_
treeseq_ ⚠get_ num_ provenances - @brief Get the number of provenances
- tsk_
treeseq_ ⚠get_ num_ samples - @brief Get the number of samples
- tsk_
treeseq_ ⚠get_ num_ sites - @brief Get the number of sites
- tsk_
treeseq_ ⚠get_ num_ trees - @brief Return the number of trees in this tree sequence.
- tsk_
treeseq_ ⚠get_ population - @brief Get a population by its index
- tsk_
treeseq_ ⚠get_ provenance - @brief Get a provenance by its index
- tsk_
treeseq_ ⚠get_ sample_ index_ map - @brief Get the map of node id to sample index
- tsk_
treeseq_ ⚠get_ samples - @brief Get the samples
- tsk_
treeseq_ ⚠get_ sequence_ length - @brief Get the sequence length
- tsk_
treeseq_ ⚠get_ site - @brief Get a site by its index
- tsk_
treeseq_ ⚠get_ time_ units - @brief Get the time units string
- tsk_
treeseq_ ⚠get_ time_ units_ length - @brief Get the length of time units string @rst Returns the length of the time units string. @endrst
- tsk_
treeseq_ ⚠has_ reference_ sequence - tsk_
treeseq_ ⚠init - @brief Initialises the tree sequence based on the specified table collection.
- tsk_
treeseq_ ⚠is_ sample - @brief Check if a node is a sample
- tsk_
treeseq_ ⚠kc_ distance - tsk_
treeseq_ ⚠load - @brief Load a tree sequence from a file path.
- tsk_
treeseq_ ⚠loadf - @brief Load a tree sequence from a stream.
- tsk_
treeseq_ ⚠mean_ descendants - tsk_
treeseq_ ⚠print_ state - @brief Print out the state of this tree sequence to the specified stream.
- tsk_
treeseq_ ⚠segregating_ sites - tsk_
treeseq_ ⚠simplify - @brief Create a simplified instance of this tree sequence
- tsk_
treeseq_ ⚠split_ edges - @}
- tsk_
treeseq_ ⚠trait_ correlation - tsk_
treeseq_ ⚠trait_ covariance - tsk_
treeseq_ ⚠trait_ linear_ model - tsk_
vargen_ ⚠free - tsk_
vargen_ ⚠init - @}
- tsk_
vargen_ ⚠next - tsk_
vargen_ ⚠print_ state - tsk_
variant_ ⚠decode - @brief Decode the genotypes at the given site, storing them in this variant.
- tsk_
variant_ ⚠free - @brief Free the internal memory for the specified variant.
- tsk_
variant_ ⚠init - @brief Initialises the variant by allocating the internal memory
- tsk_
variant_ ⚠print_ state - @brief Print out the state of this variant to the specified stream.
- tsk_
variant_ ⚠restricted_ copy - @brief Copies the state of this variant to another variant
- tsk_
viterbi_ ⚠matrix_ add_ recombination_ required - tsk_
viterbi_ ⚠matrix_ clear - tsk_
viterbi_ ⚠matrix_ free - tsk_
viterbi_ ⚠matrix_ init - tsk_
viterbi_ ⚠matrix_ print_ state - tsk_
viterbi_ ⚠matrix_ traceback
Type Aliases§
- FILE
- _IO_
lock_ t - __
off64_ t - __off_t
- general_
stat_ func_ t - tsk_
avl_ node_ int_ t - tsk_
edge_ list_ node_ t - tsk_
flags_ t - @brief Container for bitwise flags.
- tsk_
id_ t - tsk_
identity_ segment_ t - tsk_
ls_ hmm_ t - tsk_
size_ t - @brief Tskit sizes.
- tsk_
table_ sorter_ t - @brief Low-level table sorting method.