Function to plot annotation bar for each sample
Usage
plot_annotation_bar(df_group, sample_order = df_group$Sample, ...)
Arguments
- df_group
annotation dataframe with two columns: Sample and Group
- sample_order
the vector indicate sample order of all samples
- ...
parameters passed to ggplot2::theme