6c9cd355 |
% Generated by roxygen2: do not edit by hand
|
1d4d6914 |
% Please edit documentation in R/geom_tiplab.R
|
0c8aaf33 |
\name{geom_tiplab}
\alias{geom_tiplab}
\title{geom_tiplab}
\usage{
|
fb0a330e |
geom_tiplab(
mapping = NULL,
hjust = 0,
align = FALSE,
linetype = "dotted",
linesize = 0.5,
geom = "text",
offset = 0,
...
)
|
0c8aaf33 |
}
\arguments{
|
68c7ac99 |
\item{mapping}{aes mapping}
|
0c8aaf33 |
\item{hjust}{horizontal adjustment}
|
68c7ac99 |
\item{align}{align tip lab or not, logical}
\item{linetype}{linetype for adding line if align = TRUE}
|
5cfb0ffa |
\item{linesize}{line size of line if align = TRUE}
|
68c7ac99 |
|
ea38627a |
\item{geom}{one of 'text', 'label', 'image' and 'phylopic'}
|
7d9641c6 |
|
1652e9e8 |
\item{offset}{tiplab offset}
|
0c8aaf33 |
\item{...}{additional parameter}
}
\value{
tip label layer
}
\description{
add tip label layer
}
\examples{
require(ape)
tr <- rtree(10)
ggtree(tr) + geom_tiplab()
}
\author{
|
5ae49127 |
Guangchuang Yu
|
0c8aaf33 |
}
|