#' Function to find the nodes one down from a provided set of nodes
#'
#' @param phylo An object of class "phylo".
#' @param nodes A numeric vector indicating the nodes to start from.
#' @keywords None
#' @return An object of class "phylo".
#' @export
#' @author Chris Field <fieldc@@ethz.ch>
#' @examples
#' None
lowerNodes <- function(phylo,nodes){
return(unique(phylo$edge[phylo$edge[,1]%in%nodes,2]))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.