Description Usage Arguments Value
Stacked bar plot showing the proportion of cells across certrain cell groups
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
object |
Seurat object |
x |
Name of one metadata column to show on the x-axis |
fill |
Name of one metadata column to compare the proportion of cells |
facet |
Name of one metadata column defining faceting groups |
colors.use |
defining the color of stacked bar plot; either a char vector defining a color for each cell group or a palette name from brewer.pal |
n.colors |
Number of colors when setting colors.use to be a palette name from brewer.pal |
n.row |
Number of rows in facet_grid() |
title.name |
Name of the main title |
legend.title |
Name of legend |
xlabel |
Name of x label |
ylabel |
Name of y label |
width |
bar width |
show.legend |
Whether show the legend |
x.lab.rot |
Whether rorate the xtick labels |
text.size |
font size |
flip |
Whether flip the cartesian coordinates so that horizontal becomes vertical |
ggplot2 object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.