| coord_tree {phylepic} | R Documentation |
Cartesian coordinates with specialised grid for trees
Description
This coord is based on the default Cartesian coordinates, but draws the a filled background in addition to the normal grid lines. The grid is forced to appear on every integer value within the scale's range.
Usage
coord_tree(
xlim = NULL,
ylim = NULL,
expand = TRUE,
default = FALSE,
clip = "on"
)
Arguments
xlim, ylim, expand, default, clip |
See |
Details
The appearance of the grid can be controlled with theme elements:
phylepic.grid.barfilled grid (
element_rect()).phylepic.grid.linegrid line (
element_line()).phylepic.grid.everygrid frequency (
integer). Default for bothphylepic.grid.every.barandphylepic.grid.every.stripephylepic.grid.every.bargrid bar frequency (
integer). Defaults to 2 to give an alternative striped backgroundphylepic.grid.every.stripegrid bar frequency (
integer). Defaults to 1 so that every tip on a tree has its own line
Value
coord suitable for adding to a plot
[Package phylepic version 0.2.0 Index]