Module
Bio.Phylogeny
- Package
- purescript-phylio
- Repository
- vibbits/phylio
#Taxa Source
type Taxa = PhylogenyNodeA node in the phylogeny graph.
#dot Source
dot :: Phylogeny -> StringGenerate a GraphViz DOT representation of this phylogeny For more information about DOT see this URL: https://graphviz.org/doc/info/lang.html
#lookupNode Source
lookupNode :: Phylogeny -> NodeIdentifier -> Maybe PhylogenyNodeGiven a Phylogeny and a ref (identifier) get the Taxa for that ref.
#parseNewick Source
parseNewick :: String -> Either ParseError PhylogenyParse a phylogeny serialised with the Newick format. Some variations of Newick are also supported.
#parseNexus Source
parseNexus :: String -> Either ParseError PhylogenyParse a phylogeny serialised with the Nexus format
#parsePhyloXml Source
parsePhyloXml :: String -> Either ParseError PhylogenyParse a phylogeny serialised with the PhyloXML format
#reportError Source
reportError :: String -> ParseError -> StringWhen a ParseError occurs, you can use this function to turn
it into a helpful error message. The second argument is the
input that failed parsing.
> lmap (parseNewick ")") (reportError ")")
Left ")\n^"