cellRatioPlot | R Documentation |
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
)
object |
an Seurat object |
sample.name |
x axis |
sample.order |
order for x axis |
celltype.name |
column fill by |
celltype.order |
order for fill by |
facet.name |
column name for facet |
facet.order |
the order for facet |
col.width |
column width, from 0-1 |
flow.alpha |
transparency for flow |
flow.curve |
curve for flow |
color.choice |
color choice for fill |
a ggplot2 object
#NULL
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.