plotCellTypeSizeDep | R Documentation |
Show a scatter plot of cell-type values vs. number of cells per cell type
plotCellTypeSizeDep( df, cell.groups, palette = NULL, font.size = 4, ylab = "expression distance", yline = 1, show.regression = TRUE, show.whiskers = TRUE, plot.theme = theme_get() )
df |
a data frame with $value and $Type columns, just like plotMeanValuesPerCellType |
cell.groups |
a cell groups vector for calculating number of cells per cell type |
palette |
cell type palette |
ylab |
y axis label |
yline |
value at which a horizontal reference value should be plotted |
show.whiskers |
whether se values should be plotted |
ggplot2 object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.