File: tipsMRCAdepths.Rd

package info (click to toggle)
r-cran-treespace 1.1.4.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,444 kB
  • sloc: cpp: 24; sh: 13; makefile: 2
file content (21 lines) | stat: -rw-r--r-- 617 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/tipsMRCAdepths.R
\name{tipsMRCAdepths}
\alias{tipsMRCAdepths}
\title{Tip-tip MRCA depths}
\usage{
tipsMRCAdepths(tree)
}
\arguments{
\item{tree}{An object of class phylo}
}
\description{
This function creates a matrix where columns 1 and 2 correspond to tip labels and column 3 gives the depth of the MRCA of that pair of tips.
It is strongly based on \code{treeVec} and is used by \code{relatedTreeDist} and \code{treeConcordance} where tip labels belong to "categories".
}
\examples{
tree <- rtree(10)
plot(tree)
tipsMRCAdepths(tree)

}