plotTSNE: Plot TSNE

plotTSNER Documentation

Plot TSNE

Description

Plots TSNE results in a scatterplot.

Usage

plotTSNE(object, ...)

## S4 method for signature 'DimRed'
plotTSNE(
  object,
  n_dims = 2,
  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'
plotTSNE(
  object,
  n_dims = 2,
  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.

n_dims

Numeric value. Integer that indicates the number of dimensions that are plotted.

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 July 4, 2024, 4:53 p.m.