create_covariate_bar: Create a covariate bar

Description Usage Arguments

View source: R/create_covariate_bar.R

Description

Construct a covariate bar object to be used with phylogenetic tree and SNP heatmap.

Usage

1
create_covariate_bar(data = NULL, order = NULL, plot_margin = c(0.5, 0.5, 0.5, 0.5), units = "mm")

Arguments

data

A dataframe containing the data to be used in the covariate bar

order

A vector containing the sample name order from the phylogenetic tree

plot_margin

Margins for the plot (default: c(0.5, 0.5, 0.5, 0.5))

units

The unit of measure to plot the covariate bar (default: "mm")


rdeborja/ncov.tools.r documentation built on May 17, 2020, 5:31 p.m.