Copyright | (c) Dominik Schrempf 2021 |
---|---|
License | GPL-3.0-or-later |
Maintainer | dominik.schrempf@gmail.com |
Stability | unstable |
Portability | portable |
Safe Haskell | None |
Language | Haskell2010 |
Creation date: Thu Jun 13 14:06:45 2019.
Synopsis
- data Support
- toSupport :: Double -> Either String Support
- toSupportUnsafe :: Double -> Support
- class HasSupport e where
- normalizeBranchSupport :: HasSupport e => Tree e a -> Tree e a
- collapse :: (Eq e, Eq a, HasSupport e) => Support -> Tree e a -> Tree e a
Non-negative support value
Non-negative support value.
However, non-negativity is only checked with toSupport
, and negative values
can be obtained using the Num
and related instances.
See also the documentation of Length
.
Instances
toSupportUnsafe :: Double -> Support Source #
Do not check if value is negative.
class HasSupport e where Source #
A data type with measurable and modifiable values.
Instances
HasSupport Support Source # | |
HasSupport PhyloExplicit Source # | |
Defined in ELynx.Tree.Phylogeny getSup :: PhyloExplicit -> Support Source # setSup :: Support -> PhyloExplicit -> PhyloExplicit Source # modSup :: (Support -> Support) -> PhyloExplicit -> PhyloExplicit Source # |
Functions on trees
normalizeBranchSupport :: HasSupport e => Tree e a -> Tree e a Source #
Normalize branch support values. The maximum branch support value will be set to 1.0.