Description Usage Arguments Value
View source: R/visualisation.R
The default DimPlot function is not particularly functional once it is required to plot more than three groups. Thus this allows for new facets to be viewed on new lines rather than all in one row.
1 2 | DimPlotFacet(seurat_object, dimplot_object, split.by = NULL,
scales = "free", axis.text.size = 14)
|
seurat_object |
A Seurat S4 object. |
dimplot_object |
Object created from DimPlot() function. |
split.by |
Factor to split the graph by. |
scales |
If all the scales of each plot should be the same. Should scales be free ("free", the default), fixed ("fixed"), or free in one dimension ("free_x", "free_y"). |
axis.text.size |
Size of axis text. |
A ggplot object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.