elynx-tree-0.1.0: Handle phylogenetic trees

Copyright(c) Dominik Schrempf 2019
LicenseGPL-3
Maintainerdominik.schrempf@gmail.com
Stabilityunstable
Portabilityportable
Safe HaskellNone
LanguageHaskell2010

ELynx.Data.Tree.PhyloTree

Description

Creation date: Thu Jan 17 16:08:54 2019.

Phylogenetic nodes labels, aka PhyloLabels, have a branch length and an arbitrary label type, e.g., of type Int.

Synopsis

Documentation

data PhyloLabel a Source #

A primitive label type for phylogenetic trees with a name, possibly a branch support value, and possibly a branch length.

Constructors

PhyloLabel 

Fields

Instances
Eq a => Eq (PhyloLabel a) Source # 
Instance details

Defined in ELynx.Data.Tree.PhyloTree

Methods

(==) :: PhyloLabel a -> PhyloLabel a -> Bool #

(/=) :: PhyloLabel a -> PhyloLabel a -> Bool #

Ord a => Ord (PhyloLabel a) Source # 
Instance details

Defined in ELynx.Data.Tree.PhyloTree

Read a => Read (PhyloLabel a) Source # 
Instance details

Defined in ELynx.Data.Tree.PhyloTree

Show a => Show (PhyloLabel a) Source # 
Instance details

Defined in ELynx.Data.Tree.PhyloTree

Arbitrary a => Arbitrary (PhyloLabel a) Source # 
Instance details

Defined in ELynx.Data.Tree.PhyloTree

BranchSupported (PhyloLabel a) Source # 
Instance details

Defined in ELynx.Data.Tree.PhyloTree

Named a => Named (PhyloLabel a) Source # 
Instance details

Defined in ELynx.Data.Tree.PhyloTree

Measurable (PhyloLabel a) Source #

If no branch length is available, 0 is returned. This is probably not the best (and final) behavior.

Instance details

Defined in ELynx.Data.Tree.PhyloTree

removeBrInfo :: Tree (PhyloLabel a) -> Tree a Source #

Remove all branch relevant information from all nodes of the tree; only retain the labels.