plot.graphclust | R Documentation |
This function produces three plots (selectable by which
):
a plot of edges selection based on phylogenetic against trait distances of taxa pairs,
a plot of the graph produced with the selected edges
and a plot of the clustered phylogenetic tree.
## S3 method for class 'graphclust'
plot(
x,
which = c("selection", "graph", "tree"),
ask = TRUE,
colored = TRUE,
...
)
x |
a |
which |
a character vector to select plots.
Must be one or more of " |
ask |
logical if |
colored |
logical indicating if plots must include colors. |
... |
further arguments to be passed to or from other methods. They are currently ignored in this function. |
data(navic)
gC <- graphClust(navic, lim.phylo = 1, lim.trait = 2, scale.lim = FALSE)
plot.graphclust(gC, which = "selection", ask = FALSE)
plot.graphclust(gC, which = "graph", ask = FALSE)
plot.graphclust(gC, which = "tree", ask = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.