add styles to a node

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