Skip to contents

Create a heatmap plot using glyvis::plot_heatmap(). The heatmap visualizes expression values across samples.

Usage

step_heatmap(on = "exp", plot_width = 7, plot_height = 7, ...)

Arguments

on

Name of the experiment data in ctx$data to plot. One of "exp", "sig_exp", "trait_exp", "sig_trait_exp", "motif_exp", "sig_motif_exp". Default is "exp".

plot_width

Width of the plot in inches. Default is 7.

plot_height

Height of the plot in inches. Default is 7.

...

Additional arguments passed to glyvis::plot_heatmap().

Value

A glysmith_step object.

Details

Data required:

  • Depends on on parameter (default: exp)

Plots generated:

  • heatmap: A heatmap plot (if on = "exp")

  • sig_heatmap: A heatmap plot (if on = "sig_exp")

  • trait_heatmap: A heatmap plot (if on = "trait_exp")

  • sig_trait_heatmap: A heatmap plot (if on = "sig_trait_exp")

  • motif_heatmap: A heatmap plot (if on = "motif_exp")

  • sig_motif_heatmap: A heatmap plot (if on = "sig_motif_exp")

AI Prompt

This section is for AI in inquire_blueprint() only.

  • Include this step if needed.

  • It is recommended to use this step on significant results (e.g. on = "sig_exp") if available.

Examples

step_heatmap()
#> <step "step_heatmap()"> Heatmap
step_heatmap(on = "sig_exp")
#> <step "step_heatmap(on = \"sig_exp\")"> Heatmap of significant variables
step_heatmap(on = "trait_exp")
#> <step "step_heatmap(on = \"trait_exp\")"> Heatmap of traits