given a phylocanvas object and an id node, collapse the node.
phylocanvas
collapse_branch(phycnv, nodeid, collapse = TRUE)
Required.
Optional. Default TRUE. Whether to collapse the node.
TRUE
http://phylocanvas.org/docs/features/#collapse-branches