plotUMAP: Plot UMAP

plotUMAPR Documentation

Plot UMAP

Description

Plots UMAP results in a scatterplot.

Usage

plotUMAP(object, ...)

## S4 method for signature 'DimRed'
plotUMAP(
  object,
  alpha_by = NULL,
  color_by = NULL,
  shape_by = NULL,
  size_by = NULL,
  pt_alpha = 0.9,
  pt_color = "black",
  pt_fill = "black",
  pt_shape = 19,
  pt_size = 1,
  color_aes = "color",
  clrp = "milo",
  clrp_adjust = NULL,
  clrsp = "inferno",
  ...
)

## S4 method for signature 'Analysis'
plotUMAP(
  object,
  alpha_by = NULL,
  color_by = NULL,
  shape_by = NULL,
  size_by = NULL,
  pt_alpha = 0.9,
  pt_color = "black",
  pt_fill = "black",
  pt_shape = 19,
  pt_size = 1,
  color_aes = "color",
  clrp = "milo",
  clrp_adjust = NULL,
  clrsp = "inferno",
  ...
)

Arguments

object

Any object for whose class a method has been defined.

clrp

Character value. Specifies the color palette to be used to represent groups of discrete variables. Run validColorPalettes() to obtain valid input options.

Value

A ggplot.


kueckelj/confuns documentation built on June 28, 2024, 9:19 a.m.