View source: R/Seurat.utils.less.used.R
plot.UMAP.tSNE.sidebyside | R Documentation |
Plot a UMAP and tSNE side by side.
## S3 method for class 'UMAP.tSNE.sidebyside'
plot(
obj = combined.obj,
grouping = "res.0.6",
no_legend = FALSE,
do_return = TRUE,
do_label = TRUE,
label_size = 10,
vector_friendly = TRUE,
cells_use = NULL,
no_axes = TRUE,
pt_size = 0.5,
name.suffix = NULL,
width = hA4,
heigth = 1.75 * wA4,
filetype = "pdf",
...
)
obj |
Seurat object. Default: combined.obj |
grouping |
Variable to group cells by. Default: 'res.0.6' |
no_legend |
Logical, whether to display legend. Default: |
do_return |
Logical, whether to return plot object. Default: |
do_label |
Logical, whether to display labels. Default: |
label_size |
Size of labels. Default: 10 |
vector_friendly |
Logical, whether to optimize for vector outputs. Default: |
cells_use |
A vector of cell names to use for the plot. Default: NULL |
no_axes |
Logical, whether to hide axes. Default: |
pt_size |
Size of points. Default: 0.5 |
name.suffix |
Suffix to append to the plot's name. Default: NULL |
width |
Width of the plot. Default: hA4 |
heigth |
Height of the plot. Default: 1.75 * wA4 |
filetype |
Filetype to save plot as. Default: 'pdf' |
... |
Pass any other parameter to the internally called functions (most of them should work). |
save_plot
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.