A ggplot2 (ggraph) object. This means the plot
can be further customized using ggplot2 compatible functions.
Arguments
x
a reference database.
leaf_col
a column name referring to the taxonomic level
for the leaves of the tree. If not provided (NULL)
the function tries to find a relevant level.
color_col
a column name referring to the taxonomic level
for the color of the leaves (must be higher or equal to the level
of leaf_col). If not provided (NULL)
the function tries to find a relevant level.
freq_labels
a numeric value to adjust
the number of printed labels (minimum frequency).
Default is zero which means all non-NA labels are printed.
expand_plot
a value to expand the limits of the plot.
Useful if the labels are too long.
Details
The underlying graph is computed using the non-exported function
igraph_from_taxo.