dot-rotate.label: .rotate.label Adjust the string rotation of node labels for...

.rotate.labelR Documentation

.rotate.label Adjust the string rotation of node labels for unrooted or radial trees so they are not upside-down.

Description

.rotate.label Adjust the string rotation of node labels for unrooted or radial trees so they are not upside-down.

Usage

.rotate.label(node, offset)

Arguments

node:

named vector, a row from the nodes data frame of a 'phyloLayout' object.

offset:

amount to push label outward from origin

Value

a named vector with updated 'x', 'y', 'angle' and 'label' values


ArtPoon/ggfree documentation built on July 11, 2024, 11:15 a.m.