plot.UMAP.tSNE.sidebyside: plot.UMAP.tSNE.sidebyside

View source: R/Seurat.utils.less.used.R

plot.UMAP.tSNE.sidebysideR Documentation

plot.UMAP.tSNE.sidebyside

Description

Plot a UMAP and tSNE side by side.

Usage

## 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",
  ...
)

Arguments

obj

Seurat object. Default: combined.obj

grouping

Variable to group cells by. Default: 'res.0.6'

no_legend

Logical, whether to display legend. Default: FALSE.

do_return

Logical, whether to return plot object. Default: TRUE.

do_label

Logical, whether to display labels. Default: TRUE.

label_size

Size of labels. Default: 10

vector_friendly

Logical, whether to optimize for vector outputs. Default: TRUE.

cells_use

A vector of cell names to use for the plot. Default: NULL

no_axes

Logical, whether to hide axes. Default: TRUE.

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).

See Also

save_plot


vertesy/Seurat.utils documentation built on Dec. 4, 2024, 5:20 p.m.