Taxonomy-2.2.0: Libary for parsing, processing and vizualization of taxonomy data
Safe HaskellNone
LanguageHaskell2010

Biobase.Taxonomy.Visualization

Description

Functions for visualization of taxonomy data.

Synopsis

Datatypes

Visualization

drawTaxonomyComparison :: Bool -> (Int, Gr CompareTaxon Double) -> String Source #

Draw tree comparison graph in dot format. Used in Ids2TreeCompare tool.

drawTaxonomy :: Bool -> Gr SimpleTaxon Double -> String Source #

Draw graph in dot format. Used in Ids2Tree tool.

writeTree :: String -> String -> Bool -> Gr SimpleTaxon Double -> IO () Source #

Write tree representation either as dot or json to provided file path

writeDotTree :: String -> Bool -> Gr SimpleTaxon Double -> IO () Source #

Write tree representation as dot to provided file path. Graphviz tools like dot can be applied to the written .dot file to generate e.g. svg-format images.

writeJsonTree :: String -> Gr SimpleTaxon Double -> IO () Source #

Write tree representation as json to provided file path. You can visualize the result for example with 3Djs.