man/gheatmap.Rd
6c9cd355
 % Generated by roxygen2: do not edit by hand
e4ea056a
 % Please edit documentation in R/gheatmap.R
ad07ec89
 \name{gheatmap}
 \alias{gheatmap}
 \title{gheatmap}
 \usage{
c3727414
 gheatmap(p, data, offset = 0, width = 1, low = "green",
   high = "red", color = "white", colnames = TRUE,
   colnames_position = "bottom", colnames_angle = 0,
   colnames_level = NULL, colnames_offset_x = 0,
c00aac1c
   colnames_offset_y = 0, font.size = 4, hjust = 0.5,
   legend_title = "value")
ad07ec89
 }
 \arguments{
 \item{p}{tree view}
 
 \item{data}{matrix or data.frame}
 
 \item{offset}{offset of heatmap to tree}
 
2dc67dc5
 \item{width}{total width of heatmap, compare to width of tree}
ad07ec89
 
 \item{low}{color of lowest value}
 
 \item{high}{color of highest value}
 
 \item{color}{color of heatmap cell border}
 
 \item{colnames}{logical, add matrix colnames or not}
 
2ab2876d
 \item{colnames_position}{one of 'bottom' or 'top'}
 
1652e9e8
 \item{colnames_angle}{angle of column names}
 
e4ea056a
 \item{colnames_level}{levels of colnames}
 
1652e9e8
 \item{colnames_offset_x}{x offset for column names}
 
 \item{colnames_offset_y}{y offset for column names}
 
ad07ec89
 \item{font.size}{font size of matrix colnames}
1652e9e8
 
 \item{hjust}{hjust for column names (0: align left, 0.5: align center, 1: align righ)}
c00aac1c
 
 \item{legend_title}{title of fill legend}
ad07ec89
 }
 \value{
 tree view
 }
 \description{
 append a heatmap of a matrix to right side of phylogenetic tree
 }
 \author{
 Guangchuang Yu
 }