Learn R Programming

scMetaTraj (version 0.1.1)

scMetaTraj_plot_gradient: Plot metabolic gradient on UMAP

Description

Plot metabolic gradient on UMAP

Usage

scMetaTraj_plot_gradient(
  embedding,
  score,
  title = "Metabolic gradient",
  palette
)

Value

ggplot object

Arguments

embedding

UMAP coordinates (data.frame or matrix)

score

Vector of metabolic axis score

title

Plot title

palette

Continuous color palette