Description Usage Arguments Value
Make a phylomorphospace plot
1 2 3 4 | ggphylomorpho(tree, tipinfo, xvar = PC1, yvar = PC2, factorvar = group,
labelvar = taxon, title = "Phylomorphospace", xlab = "PC1",
ylab = "PC2", repel = TRUE, edge.width = 1, fontface = "italic",
tree.alpha = 0.7)
|
tree |
object of class |
tipinfo |
a dataframe containing two continuous variables (typically PC1 and PC2 from a PCA) as well as a grouping variable and a variable of labels for each point on the plot |
xvar |
the unquoted name of the column containing the x variable in the tipinfo dataframe. Defaults to |
yvar |
the unquoted name of the column containing the y variable in the tipinfo dataframe. Defaults to |
factorvar |
the unquoted name of the column containing the grouping variable in the tipinfo dataframe. Defaults to |
labelvar |
the unquoted name of the column containing the labeling variable in the tipinfo dataframe. Defaults to |
title |
the text string to use as the title of the phylomorphospace plot |
xlab |
the text label for the x axis |
ylab |
the text label for the y axis |
repel |
boolean indicating whether or not to use the |
edge.width |
size parameter for edges drawn on phylomorphospace. Default is 1 |
fontface |
font face for labels. Default is "italic". |
tree.alpha |
alpha parameter for the main tree. default is 0.7 |
the ggplot object representing the phylomorphospace
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.