Safe Haskell | None |
---|---|
Language | Haskell2010 |
Functions for visualization of taxonomy data.
Synopsis
- module Biobase.Taxonomy.Types
- drawTaxonomyComparison :: Bool -> (Int, Gr CompareTaxon Double) -> String
- drawTaxonomy :: Bool -> Gr SimpleTaxon Double -> String
- writeTree :: String -> String -> Bool -> Gr SimpleTaxon Double -> IO ()
- writeDotTree :: String -> Bool -> Gr SimpleTaxon Double -> IO ()
- writeJsonTree :: String -> Gr SimpleTaxon Double -> IO ()
Datatypes
module Biobase.Taxonomy.Types
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.