Nothing
#' Number of tips of a tree, including extinct tips.
#' @param phy phylo object
#' @return number of lineages
#' @export
number_of_lineages <- function(phy) {
if (inherits(phy, "matrix")) {
return(length(phy[, 1]))
}
if (inherits(phy, "phylo")) {
return(length(phy$tip.label))
}
stop("input object has to be phylo or ltable")
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.