Copyright | (c) Dominik Schrempf 2019 |
---|---|
License | GPL-3 |
Maintainer | dominik.schrempf@gmail.com |
Stability | unstable |
Portability | portable |
Safe Haskell | Safe |
Language | Haskell2010 |
Creation date: Thu Jun 13 14:06:45 2019.
Synopsis
- type BranchSupport = Maybe Double
- class BranchSupported a where
- getBranchSupport :: a -> BranchSupport
- setBranchSupport :: BranchSupport -> a -> a
- normalize :: BranchSupported a => Tree a -> Tree a
- collapse :: (Show a, Eq a, BranchSupported a) => Double -> Tree a -> Tree a
Documentation
type BranchSupport = Maybe Double Source #
class BranchSupported a where Source #
A label that supports extraction and setting of branch support values.
getBranchSupport :: a -> BranchSupport Source #
For now, branch support is a Double, but one could also think about bootstrap values, which are integers.
setBranchSupport :: BranchSupport -> a -> a Source #
Instances
BranchSupported (PhyloLabel a) Source # | |
Defined in ELynx.Data.Tree.PhyloTree getBranchSupport :: PhyloLabel a -> BranchSupport Source # setBranchSupport :: BranchSupport -> PhyloLabel a -> PhyloLabel a Source # |