#' Make a tree object with text
#'
#' given a newick-formatted text string, returns an ape tree object of the shape
#'
#' @param tree A newick-formatted tree string
#' @return ape tree object with your text as the tree
#' @examples
#' textToTree("(((A,B),C),D);")
#' @export
#'
readTextTree <- function(tree){
ape::read.tree(text=tree)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.