hstrat
Convenient library repack as a flat namespace.
Forwarded Modules
Modules defined elsewhere made available in this namespace for convenience. To view documentation for these modules, use the search bar or navigate to the source package manually.
|
Maintain constant size complexity and evenly-spaced strata. |
|
Maintain constant size complexity and evenly-spaced strata. |
|
Accept linear size complexity to maintain fixed spacing between strata. |
|
Maintain constant size complexity with recency-proportional strata spacing. |
|
Maintain constant size complexity with recency-proportional strata spacing. |
|
Retain as few strata as possible. |
|
Retain all strata to ensure perfect resolution for MRCA estimation. |
|
Built-in mutable sequence. |
|
Built-in mutable sequence. |
|
Retains strata probabilistically. |
|
Provide log space complexity and recency-proportional strata spacing. |
|
Eagerly utilize fixed stratum storage capacity size_curb to minimize recency-proportional MRCA uncertainty. |
|
Retain strata probabilistically in a nondeterministic manner. |
|
Implementation helpers. |
Functions
|
Deserialize a population of HereditaryStratigraphicColumn`s into a `HereditaryStratigraphicAssemblage from a dict composed of builtin types. |
|
Calculate a fast, rough estimate of the patristic distance between first and second. |
|
Calculate a fast, rough estimate of the rank of the MRCA beteen first and second. |
|
Calculate a fast, rough estimate of generations elapsed since MRCA with other. |
|
Compute all-pairs patristic distance among a population of extant hereditary stratigraphic columns as a BioPython DistanceMatrix. |
|
Compute all-pairs patristic distance among a population of extant hereditary stratigraphic columns. |
|
Estimate the phylogenetic history among hereditary stratigraphic columns. |
|
Estimate the phylogenetic history among hereditary stratigraphic columns by using the "unweighted pair group method with neighbor joinint distance-based reconstruction method. |
|
Estimate the phylogenetic history among hereditary stratigraphic columns by building a trie (a.k.a. |
|
Estimate the phylogenetic history among hereditary stratigraphic columns by building a trie (a.k.a. |
|
Estimate the phylogenetic history among hereditary stratigraphic columns by using the "unweighted pair group method with unweighted means" (UPGMA) distance-based reconstruction method. |
|
Determine hard, exclusive upper bound on MRCA generation. |
|
Determine latest possible generation of MRCA. |
|
Determine a hard, exclusive lower bound on generations since MRCA. |
|
Determine hard, inclusive lower bound on generations since MRCA. |
|
Determine amount of evidence required to indicate shared ancestry. |
What is the total phylogenetic distance along the branch path connecting first and second? |
|
How likely are differentia collisions? |
|
After what generation is common ancstry robustly detectable? |
|
After what generation is common ancstry robustly detectable? |
|
Determine upper bound on MRCA generation at given confidence. |
|
Determine lower bound on generation of MRCA at confidence level. |
|
|
Within what generation range did MRCA fall? |
|
Within what generation range did MRCA fall? |
Calculate provided confidence for a MRCA generation estimate. |
|
|
How wide is the estimate window for generation of MRCA? |
|
How wide is the estimate window for generation of MRCA? |
How many generations have elapsed since the first where common ancestry with other could be detected? |
|
Determine generations since divergence with particular confidence. |
|
Determine generations since MRCA with particular confidence. |
|
Calculate provided confidence for a MRCA generation estimate. |
|
|
How many generations have elapsed since MRCA? |
How wide is the estimation window for generations elapsed since MRCA? |
|
|
Deserialize a HereditaryStratigraphicColumn from an integer representation. |
|
Deserialize a HereditaryStratigraphicColumn from a differentia packet and column configuration specification information. |
|
Deserialize a HereditaryStratigraphicColumn from a buffer containing the differentia packet at the front, then stored differentia values. |
|
Deserialize a HereditaryStratigraphicColumn from a dict composed of builtin data types. |
|
Create an ASCII table representation of HereditaryStratigraphicColumn state. |
|
Create a pandas DataFrame with retained strata as rows. |
|
Serialize a HereditaryStratigraphicColumn to a binary representation as a Python int. |
|
Serialize a HereditaryStratigraphicColumn to a binary buffer. |
|
Serialize a HereditaryStratigraphicColumn to a dict composed of builtin types. |
|
Create a postprocessing representation of the differentia retained by an extant HereditaryStratigraphicColumn, indexed by deposition rank. |
|
Compile phylogenetic history tracked using PerfectBacktrackHandle breadcrumbs. |
|
Compile phylogenetic history tracked using generic backtracking breadcrumbs. |
|
Generate a population of hereditary stratigraphic columns that could have resulted from the template phylogeny. |
|
Generate a population of hereditary stratigraphic columns that could have resulted from the template phylogeny. |
|
Generate a population of hereditary stratigraphic columns that could have resulted from the template phylogeny. |
|
Generate a population of hereditary stratigraphic columns that could have resulted from the template phylogeny. |
|
Generate a population of hereditary stratigraphic columns that could have resulted from the template phylogeny. |
|
Generate a population of hereditary stratigraphic columns that could have resulted from the template phylogeny. |
|
Generate a population of hereditary stratigraphic columns that could have resulted from the template phylogeny. |
|
Return ranks retained by first but not second, and vice versa. |
Does the hereditary stratigraphic record definitively prove that first and second could not possibly share a common ancestor? |
|
Could the population possibly share a common ancestor? |
|
|
Determine if common ancestry is evidenced with second. |
|
Determine if common ancestry is evidenced within the population. |
|
Estimate the total phylogenetic distance along the branch path connecting the columns. |
|
At what generation did the most recent common ancestor of first and second occur? |
Estimate the most recent common ancestor (MRCA) at the rank with the highest posterior probability. |
|
Compute a simple, fast estimate the rank of the most recent common ancestor (MRCA). |
|
Compute an estimate for the rank of the most recent common ancestor (MRCA) that, on average, avoids systematic over- or under-estimation. |
|
|
How many generations have elapsed since focal's most recent common ancestor with other? |
Run simple evolutionary simulation to generate sample phylogeny. |
|
|
Get the most recent stratum in common between first and second, if any. |
|
Return the nth rank retained by both columns. |
|
Iterate up PerfectBacktrackHandle breadcrumbs for line of descent ending in handle, including handle. |
|
Profile distribution of retained rank spacing under a retention policy. |
|
Profile distribution of retained rank spacing under a retention policy. |
|
Pack a sequence of differentiae together into a compact representation. |
|
Pack a sequence of differentiae together into a compact representation. |
|
Pack a sequence of differentiae together into a compact string representation. |
|
Deserialize a stratum retention policy from a dict composed of builtin data types. |
|
Animate evolution of column and its properties under a retention policy. |
|
Holistically sketch stratum retention policy at a particular generation. |
|
Serialize a stratum retention policy to a dict composed of builtin types. |
|
Deserialize a sequence of `HereditaryStratigraphicColumn`s from a dict composed of builtin types. |
|
Create a postprocessing representation of the differentia retained by a collection of HereditaryStratigraphicColumns. |
|
Create a pandas DataFrame summarizing several columns, with retained strata as rows. |
|
Serialize a sequence of `HereditaryStratigraphicColumn`s to a dict composed of builtin types. |
|
Deserialize a HereditaryStratigraphicSpecimen from a dict composed of builtin data types. |
|
Plot fraction deposited strata that are retained at each generation. |
|
Plot number deposited strata that are retained at each generation. |
|
Animate evolution of strata histories under a stratum retention policy. |
|
Show history of retained and purged strata at a particular generation. |
|
Deserialize a population of HereditaryStratigraphicColumn`s into a list of `HereditaryStratigraphiSpecimen from a dict composed of builtin types. |
|
Unpack a compact, concatenated base 64 representation into a sequence with each element represented as a distinct integer. |
|
Unpack a compact, concatenated byte buffer representation into a sequence with each element represented as a distinct integer. |
|
Unpack a compact, concatenated base 64 representation into a sequence with each element represented as a distinct integer. |
Classes
Enacts a prior probability density distribution on the generation of the most recent common ancestor (MRCA) between extant hereditary stratigraphic columns that is arbitrary, but computationally efficient. |
|
Functor to assign a destruction time property to trie nodes. |
|
Functor to assign origin time property to trie nodes using expected values over the distribution of possible differentia collisions. |
|
Functor to assign origin time property to trie nodes calculated as the average of the node's rank and the minimum rank among its children. |
|
Functor to assign trie nodes' rank as their the origin time. |
|
Functor to assign origin time property to trie nodes sampled between the node's rank and the minimum rank among its children. |
|
Functor to sequentially apply multiple trie postprocessors. |
|
Data structure to enable perfect tracking over a fixed-size population with synchronous generations. |
|
Enacts a prior expectation that the generation of the most recent common ancestor (MRCA) between extant hereditary stratigraphic columns becomes exponentialy less likely with increasing antiquity. |
|
Data structure to enable perfect tracking over a fixed-size population with synchronous generations. |
|
Enacts a prior expectation that the generation of the most recent common ancestor (MRCA) between extant hereditary stratigraphic columns becomes exponentialy less likely with increasing antiquity. |
|
A collection of HereditaryStratigraphicSpecimens, padded to include entries for all ranks retained by any specimen within the assemblage. |
|
Postprocessing representation of the differentia retained by an extant HereditaryStratigraphicColumn, indexed by deposition rank. |
|
Genetic annotation to enable phylogenetic inference. |
|
Packages multiple HereditaryStratigraphicColumn instances together. |
|
Postprocessing representation of the differentia retained by an extant HereditaryStratigraphicColumn, indexed by deposition rank. |
|
Packages stratigraph data associated with a particular generation. |
|
Interchangeable backing container for HereditaryStratigraphicColumn. |
|
Interchangeable backing container for HereditaryStratigraphicColumn. |
|
Interchangeable backing container for HereditaryStratigraphicColumn. |
|
Enacts exact absolute MRCA uncertainty parameterization requirement. |
|
Enacts absolute MRCA uncertainty bound parameterization requirement. |
|
Enacts exact relative MRCA uncertainty parameterization requirement. |
|
Enacts relative MRCA uncertainty bound parameterization requirement. |
|
Enacts exact space complexity parameterization requirement. |
|
Enacts space complexity bound parameterization requirement. |
|
Functor to separate any TrieLeafNode instances that are direct siblings. |
|
Breadcrumb for perfectly backtracking a phylogenetic chain of descent. |
|
Parameterizes so evaluated property meets or exceeds a target value. |
|
Parameterizes so evaluated property falls at or below a target value. |
|
Parameterizes so evaluated property exactly equals a target value. |
|
Functor to correct for systematic overestimation of relatedness by sampling a compensatory adjustment to trie topology. |
|
Enacts a prior expectation that the generation of the most recent common ancestor (MRCA) is equally likely to occur at any generation since genesis. |
Exceptions
Raised when parameter with required properties cannot be found. |