Skip to contents

'Visualize the ligand-target regulatory relationships that are driving the analyzed velocities.

Usage

plot_velocity_ligand_targets(
  obj,
  n_top_targets = 10,
  velocity_cluster = NULL,
  n_top_ligands = 10,
  ligand_target_matrix,
  color_low = "#f6ffff",
  color_high = "#01bfc4",
  colorscale = "Greens"
)

Arguments

obj

A seurat object that has been analyzed with entrain_velocity

n_top_targets

Number of top likelihood target genes to visualize. Default 10.

velocity_cluster

Name of the velocity cluster whose regulatory relationships you wish to plot.

n_top_ligands

Number of top ligands to visualize. Default 10.

ligand_target_matrix

NicheNet ligand-target data file.

color_low

Hex code of lower limit

color_high

Hex code of upper limit.

colorscale

Name of an RColorBrewer palette. Default Greens

Value

A gglot2 plot object.