Stacked barplot of deconvolution results
deconvolution_barplot(
deconvoluted_data,
meta_data,
sample_id_column,
true_label_column,
color_dict = NULL,
show_x_label = FALSE,
base_size = 14,
...
)A list with the data and the ggplot2 plot object.
Result from running `run_deconvolution`
Data.frame containing metadata from deconvoluted samples
Name of the column containing the sample id in the meta_data data.frame
Name of the column containing the true labels of the samples in the meta_data data.frame
Named string featuring colors as values and labels (true labels) as names
A boolean, if `TRUE` the sample labels in the X axis will be shown. Default is `FALSE`.
An integer defining the base size of the text in the plot. Default is `14`.
Parameters passed to the ggplot2::theme function.