View source: R/profile_barplot.R
run_profile_barplot | R Documentation |
Generates both fill and stacked bar plots and saves to file
run_profile_barplot(
df,
rowAnn_col = 1,
out_dir = ".",
labels = "",
log_ = F,
gradient_palette = "RdBu"
)
df |
A data frame - first column: rowAnnotation column with groups, the rest of the columns are values. |
rowAnn_col |
A column index (numeric) or name in df indicating which groups to stratify by. |
out_dir |
The output directory where the plot will be saved, default is current working directory. |
labels |
A character vector of at least length 1 that will be collapsed for file name/plot titles. |
log_ |
Logical indicating whether to log2-transform values |
gradient_palette |
RColorBrewer palette for variable colors if var_colors is NA. See RColorBrewer::display.brewer.all() for all options. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.