package phylogenetics

  1. Overview
  2. Docs
Algorithms and datastructures for phylogenetics

Install

dune-project
 Dependency

Authors

Maintainers

Sources

phylogenetics-0.3.0.tbz
sha256=de867d7cc017a8e434dab43ef16f0f6495973892cd7b6a8446b18e79393704a8
sha512=0209538caf94be47eabcaa25399c54849bd4fa0fc79e0579acee27f46ef3b72aa50e17bdb48fed8e86674d4caee6c1c4c423833a2757db12e2a6cc28234510de

doc/phylogenetics/Phylogenetics/Zipper/index.html

Module Phylogenetics.ZipperSource

Zipper type for fast operations on large phylogenetic trees.

Types
Sourcetype t
Sourcetype branch = float * Phylogenetic_tree.t
Sourcetype direction =
  1. | Dir0
  2. | Dir1
  3. | Dir2
Sourcetype location_type =
  1. | LocLeaf
  2. | LocBranch
  3. | LocNode
Sourcetype oriented_zipper
Creation / conversion
Sourceval of_tree : Phylogenetic_tree.t -> t
Sourceval to_tree : t -> Phylogenetic_tree.t
Sourceval orient : t -> direction -> oriented_zipper
Sourceval unorient : oriented_zipper -> t
Constructors / object manipulation
Sourceval string_of_dir : direction -> string
Sourceval dir_of_string : string -> direction
Observation
Sourceval equal : t -> t -> bool
Sourceval get_branch : t -> direction -> branch
Sourceval get_index : t -> Sigs.index
Sourceval get_length : t -> direction -> float
Sourceval length_left : oriented_zipper -> float
Sourceval length_right : oriented_zipper -> float
Sourceval location : t -> location_type
Movement
Sourceval goto : t -> int -> t
Sourceval init_routing : t -> t
Sourceval move : t -> direction -> t
Sourceval random_node : t -> t
Sourceval slide : t -> direction -> float -> t
Pretty printing
Sourceval pp : Format.formatter -> t -> unit
Sourceval pp_fancy : Format.formatter -> t -> unit
Sourceval print : t -> unit
Sourceval print_fancy : t -> unit