Create a stacked barplot reporting the proportion covered by var.2 classes within each var.1 class

PropPlot(seurat = NULL, var.1 = NULL, var.2 = NULL, cols = NULL)

Arguments

seurat

a Seurat object containing Kandinsky data

var.1

character string, name of the first variable

var.2

character string, name of the second variable

cols

color palette to use for plotting

Value

stacked barplot created with ggplot2