Skip to contents

Recovers the covariance of the top genes that covary with pseudotime and plots it as a 1d-heatmap.

Usage

plot_covarying_genes_heatmap(
  obj,
  path = paths[1],
  n_top_genes = 10,
  metric = "Covariances"
)

Arguments

obj

A seurat object that has been analyzed with get_path_ligands or get_traj_ligands_monocle.

path

Name of list element in obj@misc$entrain$paths corresponding to the trajectory path that you wish to visualize.

n_top_genes

Number of top covarying genes to visualize. Default 10.

metric

One of "Covariances" or "Correlations". Metric used during fitting. Default "Covariance"

Value

A ggplot2 plot object.