lines.phyloLayout | R Documentation |
Generic S3 method adapted for drawing the line segments that comprise a phylogenetic tree.
## S3 method for class 'phyloLayout'
lines(obj, col = "grey50", shade = TRUE, ...)
obj: |
an S3 object of class 'phyloLayout' |
col: |
if a colour vector is specified, 'lines' will apply the colors in the same order as edges in the data frame in 'obj'. If the vector is too short, it will recycle colors. |
shade: |
if TRUE (default), vertical edges will be coloured by the average of descendant horizonatal edges. If FALSE, vertical edges are uniformly coloured grey. |
...: |
additional graphical parameters to pass to 'segments' and 'draw.arc' |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.