Description Usage Arguments Value Examples
Draws a ridge plot of single cell data (gene expression, metrics, PC scores, etc.)
| 1 2 3 | 
| object | Seurat object | 
| features | Features to plot (gene expression, metrics, PC scores, anything that can be retreived by FetchData) | 
| cols | Colors to use for plotting | 
| idents | Which classes to include in the plot (default is all) | 
| sort | Sort identity classes (on the x-axis) by the average expression of the attribute being potted, can also pass 'increasing' or 'decreasing' to change sort direction | 
| assay | Name of assay to use, defaults to the active assay | 
| group.by | Group (color) cells in different ways (for example, orig.ident) | 
| y.max | Maximum y axis value | 
| same.y.lims | Set all the y-axis limits to the same values | 
| log | plot the feature axis on log scale | 
| ncol | Number of columns if multiple plots are displayed | 
| combine | Combine plots into a single gg object; note that if TRUE; themeing will not work when plotting multiple features | 
| slot | Use non-normalized counts data for plotting | 
| ... | Ignored | 
A ggplot object
| 1 | RidgePlot(object = pbmc_small, features = 'PC1')
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.