powered by
support facet, codes refer to: https://github.com/junjunlab/scRNAtoolVis/blob/master/R/cellRatioPlot.R, with modification
cellRatioPlot( object = NULL, sample.name = NULL, sample.order = NULL, celltype.name = NULL, celltype.order = NULL, facet.name = NULL, facet.order = NULL, col.width = 0.7, flow.alpha = 0.25, flow.curve = 0, color.choice = NULL )
a ggplot2 object
an Seurat object
x axis
order for x axis
column fill by
order for fill by
column name for facet
the order for facet
column width, from 0-1
transparency for flow
curve for flow
color choice for fill
#NULL
Run the code above in your browser using DataLab