Bar plot of cell type proportions across samples
prop_barplot(prop, sort = TRUE, interactive = FALSE)
a matrix or data.frame of cell proportion values with rows representing cell types, columns representing samples.
a logical value indicating whether to sort the samples based on cell type with highest median cell proportion across samples. Default to TRUE.
a logical value indicating whether to generate interactive plot. Default to FALSE.