
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 graphclust
plot(
x,
which = c("selection", "graph", "tree"),
ask = TRUE,
colored = TRUE,
...
)
a graphclust
object as produced by graphClust
.
a character vector to select plots.
Must be one or more of "selection
", "graph
", "tree
".
logical if TRUE
(default), the user is asked before each plot.
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)
Run the code above in your browser using DataLab