File: kronoviz.Rd

package info (click to toggle)
r-cran-ape 5.8-1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,676 kB
  • sloc: ansic: 7,676; cpp: 116; sh: 17; makefile: 2
file content (40 lines) | stat: -rw-r--r-- 1,331 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
\name{kronoviz}
\alias{kronoviz}
\title{Plot Multiple Chronograms on the Same Scale}
\description{
  The main argument is a list of (rooted) trees which are plotted on the
  same scale.
}
\usage{
kronoviz(x, layout = length(x), horiz = TRUE, ...,
         direction = ifelse(horiz, "rightwards", "upwards"), side = 2)
}
\arguments{
  \item{x}{a list of (rooted) trees of class \code{"phylo"}.}
  \item{layout}{an integer giving the number of trees plotted
    simultaneously; by default all.}
  \item{horiz}{a logical specifying whether the trees should be plotted
    rightwards (the default) or upwards.}
  \item{\dots}{further arguments passed to \code{plot.phylo}.}
  \item{direction}{a character string specifying the direction of the
    tree. Four values are possible: "rightwards" (the default),
    "leftwards", "upwards", and "downwards".}
  \item{side}{Where to put the axis, see example.}
}
\details{
  The size of the individual plots is proportional to the size of the
  trees.
}
\value{NULL}
\author{Emmanuel Paradis, Klaus Schliep}
\seealso{
  \code{\link{plot.phylo}}
}
\examples{
TR <- replicate(10, rcoal(sample(11:20, size = 1)), simplify = FALSE)
kronoviz(TR)
kronoviz(TR, side = 1)
kronoviz(TR, horiz = FALSE, type = "c", show.tip.label = FALSE)
kronoviz(TR, direction = "d", side = c(1,2))
}
\keyword{hplot}