Copyright | (c) Dominik Schrempf 2018 |
---|---|
License | GPL-3 |
Maintainer | dominik.schrempf@gmail.com |
Stability | unstable |
Portability | portable |
Safe Haskell | None |
Language | Haskell2010 |
Creation date: Thu May 17 14:05:45 2018.
Synopsis
- type BrLnNChildren = (Double, Int)
- type NChildSumStat = [BrLnNChildren]
- toNChildSumStat :: Measurable a => Tree a -> NChildSumStat
- formatNChildSumStat :: NChildSumStat -> ByteString
Documentation
type BrLnNChildren = (Double, Int) Source #
Pair of branch length with number of extant children.
type NChildSumStat = [BrLnNChildren] Source #
Possible summary statistic of phylogenetic trees. A list of tuples (BranchLength, NumberOfExtantChildrenBelowThisBranch).
toNChildSumStat :: Measurable a => Tree a -> NChildSumStat Source #
Compute NChilSumStat for a phylogenetic tree.
formatNChildSumStat :: NChildSumStat -> ByteString Source #
Format the summary statistics in the following form: @ nLeaves1 branchLength1 nLeaves2 branchLength2 ....