View source: R/create_covariate_bar.R
Construct a covariate bar object to be used with phylogenetic tree and SNP heatmap.
1 |
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") |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.