Skip to contents

Visualize t-SNE Results

Usage

plotTSNE(
  data,
  plot_3d = FALSE,
  color_by = NULL,
  marker_size = 1,
  matrix_name = "Raw_Scores"
)

Arguments

data

An object of class CygnusObject containing t-SNE results.

plot_3d

Logical value indicating whether to plot in 3D. Default is FALSE.

color_by

Character string specifying metadata column to color by. Default is NULL (no coloring).

marker_size

Numeric value specifying the size of the markers in the plot. Default is 1.

matrix_name

Name of the matrix when colored by expression

Value

A plot of the t-SNE results!