- data
if type == "COLLAPSE", a vector of characters specifying the tips
or node used for collapsing used for extracting.
- key
a character specifying the output file name for hub object.
- type
a character specifying the template type used for extracting.
Following choices are possible: "COLLAPSE","PRUNE","SPACING","TREE_COLORS",
"DATASET_STYLE","LABELS","DATASET_TEXT","DATASET_COLORSTRIP",
"DATASET_BINARY","DATASET_GRADIENT","DATASET_HEATMAP","DATASET_SYMBOL",
"DATASET_EXTERNALSHAPE","DATASET_DOMAINS","DATASET_SIMPLEBAR",
"DATASET_MULTIBAR","DATASET_BOXPLOT","DATASET_LINECHART","DATASET_PIECHART",
"DATASET_ALIGNMENT","DATASET_CONNECTION","DATASET_IMAGE","POPUP_INFO.
- style
a character specifying the specific version of template type
used for extracting. The default value is "default" style for all types.
- subtype
a character specifying the subtype under type. If the type is
"TREE_COLORS", the following choices are possible: "range", "clade",
"branch", "label", "label_background".
- color
a character specifying the color pattern name. The following
choices are possible: "table2itol", "RColorBrewer", "ggsci".
- line_type
a character specifying the normal or dashed line type used
in clade and branch subtype.
- font_type
a character specifying the bold, italic, and bold-italic
font type used in label and branch subtype.
- size_factor
a number specifying the line width used in clade and
branch subtype and size factor in label subtype.
- position
If type == "DATASET_STYLE", a character
specifying the position: The following choices are possible: "node" and
"clade". If type == "DATASET_TEXT", a number specifying the position of the
text on the tree: -1 = external label; a number between 0 and 1 = internal
label positioned at the specified value along the node branch (for example,
position 0 is exactly at the start of node branch, position 0.5 is in the
middle, and position 1 is at the end)
- background_color
Only used while type == "DATASET_STYLE" and subtype
== "label". a character or a vector of character specifying the background
color in hexadecimal, RGB or RGBA notation.
- rotation
Only used while type == "DATASET_TEXT". a number or a
vector of number specifying the rotation angle of the text.
- method
a character specifying the numbric data summarise method. If
type == "DATASET_BINARY", the following choices are possible: "mean",
"sum".
- shape
a character or a vector of character specifying the symbol
shape. If type == "DATASET_BINARY", the default is 2. If type ==
"DATASET_SYMBOL", the following choices are possible: 1 for rectangle, 2
for circle, 3 for star, 4 for left pointing triangle, 5 for right pointing
triangle. If using NULL and there are data column, the functions will
automaticly help users to setup the shapes based on the levels of the
data.
- fill
If type == "DATASET_SYMBOL", 1/0 is specifying the shape
outlier filled or not. If type == "DATASET_DOMAINS", the following choices
are possible: "RE|HH|HV|EL|DI|TR|TL|PL|PR|PU|PD|OC|GP".
- tree
a character specifying Newick format tree file path or a phylo
object of main phylogenetic tree.