% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utils.R
\name{shared_clades}
\alias{shared_clades}
\title{List all clades shared between two taxa}
\usage{
shared_clades(taxon_a, taxon_b, verbose = FALSE)
}
\arguments{
\item{taxon_a}{A character string giving the first taxon name.}

\item{taxon_b}{A character string giving the second taxon name.}

\item{verbose}{Logical. If \code{TRUE}, prints progress messages. Default \code{FALSE}.}
}
\value{
A character vector of shared clade names ordered from root to MRCA,
or \code{NULL} if either taxon cannot be found.
}
\description{
Returns the vector of clade names forming the shared trunk of two taxa's
lineages, from root down to (and including) their MRCA.
}
\examples{
\donttest{
shared_clades("Tyrannosaurus", "Velociraptor")
shared_clades("Tyrannosaurus", "Homo")
}
}
