arg-needle-lib Python API Reference
These pages describe the API of arg-needle-lib’s public Python functions.
These are functions that can be called after import arg_needle_lib
.
Be sure to also check out the high-level documentation of the arg-needle and arg-needle-lib Python packages.
- arg_needle_lib
ARG
ARGEdge
ARGNode
DescendantList
Mutation
Root
Site
arg_to_newick()
arg_to_tskit()
association_diploid_all()
association_diploid_mutation()
bitset_volume_map()
compute_grm()
deserialize_arg()
exact_arg_grm()
generate_m_mutations()
generate_mutations()
get_genotype()
get_mutations_matrix()
gower_center()
haploid_grm_to_diploid()
impute()
kc2_length_stab()
kc2_special_stab()
kc2_tmrca_sv_stab()
local_volume()
monte_carlo_arg_grm()
mutation_best()
mutation_match()
mutation_match_all()
num_lineages()
rf_resolve_stab()
rf_total_variation_stab()
row_column_center()
serialize_arg()
stab_return_all_bitsets()
total_volume()
trim_arg()
tskit_to_arg()
validate_serialized_arg()
write_bitsets()
write_grm()
write_mutations_to_haps()