style_node: style node

Description Usage Arguments Details See Also

Description

add styles to a node

Usage

1
2
3
4
style_node(phycnv, nodeid, highlighted = FALSE, color = "black",
  shape = "circle", nodesizeratio = 1, strokecolor = "black",
  fillcolor = "black", linewidth = 1, labelcolor = "black",
  labeltextsize = 20, labelfont = "Arial", labelformat = "bold")

Arguments

phycnv

Required.

nodeid

Required.

highlighted

Optional. Default FALSE. Whether to highlight the node.

color

Optional. Color of the node/branch

shape

Optional. Default 'circle'. Can be either 'circle', 'square' or 'traingle'.

nodesizeratio

Optional. Default 1. Scale ratio of the nodesize to the base node size.

strokecolor

Optional. Default "black". Colors are strings in the format of names, rgb strings or hex values.

fillcolor

Optional. Default "black". Scale ratio of the node.

linewidth

Optional. Default 1.

labelcolor

Optional. Default "black". Label color. Colors are strings in the format of names, rgb strings or hex values.

labeltextsize

Optional.Default 20. Label size.

labelfont

Optional. Default "Arial". Label font.

labelformat

Optional. Default "bold". Label format.

Details

given a phylocanvas object and nodeid, apply the given styles to that node.

See Also

http://phylocanvas.org/docs/features/#style-branches-individually


phylocanvas documentation built on May 1, 2019, 8:06 p.m.