side_barplot: Make an annotation side bar plot

Description Usage Arguments

View source: R/sider_barplot.R

Description

This function makes a barplot to put on the side of the heatmap as annotation. Should only be called internally

Usage

1
side_barplot(x, id, vertical = F, legend.text.size = 9)

Arguments

x

a character vector for annotation. It should have the same order as the input data in the very begining.

legend.text.size

numeric indicates the legend text size.

col.id

a integer vector to reorder the x vector so it matches the heatmap.


zhuchcn/zheatmap documentation built on July 18, 2019, 3:14 p.m.