package phylogenetics

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
include module type of Newick_ast
type tag = string * string
type t = {
  1. name : string option;
  2. tags : tag list;
  3. parent_branch : float option;
  4. children : t list;
}
type error_desc = {
  1. offset : int;
  2. line : int;
  3. column : int;
  4. msg : string;
}
val string_of_error_desc : error_desc -> string
type error = [
  1. | `Newick_parser_error of error_desc
]
val mkerror : Stdlib.Lexing.lexbuf -> string -> [> `Newick_parser_error of error_desc ]
val string_of_error : [< `Newick_parser_error of error_desc ] -> string
val from_file : string -> (t, [> error ]) Stdlib.result
val from_file_exn : string -> t
val from_string : string -> (t, [> error ]) Stdlib.result
val from_string_exn : string -> t
val of_tree : ?node_id:('a -> string option) -> ?node_tags:('a -> tag list) -> ?leaf_id:('b -> string option) -> ?leaf_tags:('b -> tag list) -> ?branch_length:('c -> float option) -> ?parent_branch:float -> ('a, 'b, 'c) Tree.t -> t
val to_string : t -> string
val to_file : t -> string -> unit
module Tree_repr : sig ... end
OCaml

Innovation. Community. Security.