match_modules | R Documentation |
This function is called within modules_across_ages()
and gives the same name to modules from
ancestral networks at different ages that contain the same symbiont species or their parental species.
match_modules(summary_networks, unmatched_modules, tree)
summary_networks |
List of reconstructed summary networks for each age. |
unmatched_modules |
A data frame outputted from |
tree |
The phylogeny of the symbiont clade (e.g. parasite, herbivore), a |
A list of two elements: 1) a data frame containing the module information for each node at each network; 2) a data frame of correspondence between the original and the matched module names for each network.
## Not run:
unmatched_modules <- modules_from_summary_networks(summary_networks)
matched_modules <- match_modules(summary_networks, unmatched_modules[[1]], tree)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.