Up: Component summary Component

PlotTreeHTML

Produces a plot of a tree (or forest) in a html page.

Version 1.0
Bundle tools
Categories HTML Plot
Authors Mikko Kivelä (bolozna@gmail.com)
Issue tracker View/Report issues
Requires Python
Source files component.xml plotTreeHTML.py
Usage Example with default values

Inputs

Name Type Mandatory Description
treeStructure BinaryFile Mandatory The file containing merges and their heights.
metadata CSV Optional A CSV file with data on nodes.
imageData BinaryFolder Optional Directory containing images to be show on top of nodes.

Outputs

Name Type Description
plot HTML The plot.

Parameters

Name Type Default Description
defaultNodeColor string "red" The default color is used if the node color is not defined by the data.
defaultNodeSize float 4.5
maxNodeSize float 10
minNodeSize float 2
nodeColorVariables string "" The list of variables that can be used for node colors.
nodeHeightVariables string "" The list of variables that can be used for node heights.
nodeImageVariables string "" The list of variables that can be used for node images.
nodeLabelVariables string "" The list of variables that can be used for node labels.
nodeSizeVariables string "" The list of variables that can be used for node size.
treeDataType string "json" "json" or "rclusters".
ycoordType string "height" "height" or "distance".

Test cases

Test case Parameters IN
treeStructure
IN
metadata
IN
imageData
OUT
plot
case1_rtreeinput properties treeStructure (missing) (missing) (missing)

treeDataType=rclusters,
nodeLabelVariables=Order

case2_jsoninput properties treeStructure (missing) (missing) (missing)

nodeHeightVariables=ycoord,
treeDataType=json


Generated 2018-12-11 07:42:07 by Anduril 2.0.0