plot_network_at_age | R Documentation |
Plot one ancestral network with module information at a given time
plot_network_at_age(
subtree,
tip_data,
tgraph,
module_levels,
colors = NULL,
tree,
age,
weighted = TRUE,
weight_range = c(0, 1),
two_state = FALSE,
node_size = NULL,
level_names = c("Host", "Symbiont")
)
subtree |
a |
tip_data |
a |
tgraph |
a |
module_levels |
Order in which the modules should be organized. Affects which color each module will be assigned. |
colors |
Color vector used to plot module information. |
tree |
The phylogeny of the symbiont clade (e.g. parasites, herbivores). Object of class
|
age |
Age of the ancestral network to be plotted as the tittle. |
weighted |
Whether the network should have weighted edges. |
weight_range |
The range of weights conscidered for the width of the edges. |
two_state |
Whether the width of the edges should reflect the state (instead of the posterior probability). |
node_size |
Size of the nodes in every network. If NULL, the default size is plotted. |
level_names |
Optional string vector with two elements used by legend: name of the clade modeled as "host" and the name of the clade modeled as "symbiont". |
An assembly of plots, of class patchwork
.
## Not run:
plot_network_at_age(subtree, tip_data, tgraph, module_levels, colors, tree, age)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.