get_clade | R Documentation |
This function serves to extract the clade in the backbone phylogeny that includes all the species in the specified group (as defined in the info data frame).
get_clade(info, tree, group)
info |
An 'info' (or 'input') data frame. |
tree |
The backbone tree to be subsetted. |
group |
Taxonomic group of species that defines the clade to extract. |
A list with four objects that will be used for automatic plotting
with the plot_clade
function.
'Tree' is the subtree; 'info' is the handed info
data frame; 'rank' is the taxonomic rank of the specified group,
and 'clade' is the name of the clade. ## SAME AS ABOVE, SHOULD BE 'group'
Ignacio Ramos-Gutierrez, Rafael Molina-Venegas, Herlander Lima
catspecies <- c("Lynx_lynx", "Panthera_uncia",
"Panthera_onca", "Felis_catus", "Puma_concolor",
"Lynx_canadensis", "Panthera_tigris", "Panthera_leo",
"Felis_silvestris")
cats.info <- build_info(species=catspecies, tree= cats,
find.ranks=TRUE, db="ncbi", mode="backbone")
felinae.clade <- get_clade(info=cats.info,
tree=cats, group="Felinae")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.