| coord_tree | R Documentation |
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.
coord_tree(
xlim = NULL,
ylim = NULL,
expand = TRUE,
default = FALSE,
clip = "on"
)
xlim, ylim, expand, default, clip |
See |
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 both
phylepic.grid.every.bar and phylepic.grid.every.stripe
phylepic.grid.every.bargrid bar frequency (integer).
Defaults to 2 to give an alternative striped background
phylepic.grid.every.stripegrid bar frequency (integer).
Defaults to 1 so that every tip on a tree has its own line
coord suitable for adding to a plot
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.