man/geom_cladelabel.Rd
cc06d22b
 % Generated by roxygen2: do not edit by hand
 % Please edit documentation in R/geom_cladelabel.R
 \name{geom_cladelabel}
 \alias{geom_cladelabel}
 \title{geom_cladelabel}
 \usage{
fb0a330e
 geom_cladelabel(
   node,
   label,
   offset = 0,
   offset.text = 0,
   extend = 0,
   align = FALSE,
   barsize = 0.5,
   fontsize = 3.88,
   angle = 0,
   geom = "text",
   hjust = 0,
   color = NULL,
   fill = NA,
   family = "sans",
   parse = FALSE,
   ...
 )
cc06d22b
 }
 \arguments{
 \item{node}{selected node}
 
 \item{label}{clade label}
 
 \item{offset}{offset of bar and text from the clade}
 
 \item{offset.text}{offset of text from bar}
 
353dfa09
 \item{extend}{extend bar height}
 
cc06d22b
 \item{align}{logical}
 
 \item{barsize}{size of bar}
 
 \item{fontsize}{size of text}
 
 \item{angle}{angle of text}
 
 \item{geom}{one of 'text' or 'label'}
 
c072cd2e
 \item{hjust}{justify text horizontally}
af18d052
 
c1e35f48
 \item{color}{color for clade & label, of length 1 or 2}
 
cc06d22b
 \item{fill}{fill label background, only work with geom='label'}
 
49838f33
 \item{family}{sans by default, can be any supported font}
 
c1e35f48
 \item{parse}{logical, whether parse label}
 
cc06d22b
 \item{...}{additional parameter}
 }
 \value{
 ggplot layers
 }
 \description{
 annotate a clade with bar and text label
 }
c072cd2e
 \seealso{
 \link{geom_cladelabel2}
 }
cc06d22b
 \author{
 Guangchuang Yu
 }