plot_dimred: Dimensionality reduction plot

View source: R/utils_plotting.R

plot_dimredR Documentation

Dimensionality reduction plot

Description

Dimensionality reduction plot

Usage

plot_dimred(
  df,
  name,
  type = "umap",
  plot = "batch",
  markers = NULL,
  seed = 473,
  return_coord = FALSE
)

Arguments

df

tibble of data to plot

name

Name of the output plot

type

Type of dimensionality reduction ("umap" or "pca")

plot

The column to use for coloring

markers

Markers to include in dimensionality reduction

seed

For reproducibility

return_coord

Return coordinates and not just the plot

See Also

Other plot: plot_density(), plot_dimred_full(), plot_save_four(), plot_save_two(), plot_umap_labels()

Examples

## Not run: 
uncor_umap <- plot_dimred(uncorrected, "Uncorrected", markers = markers)

## End(Not run)

biosurf/cyCombine documentation built on May 23, 2024, 4:07 a.m.