wp_bgfill: Fill the background of gene with color according to amount of...

View source: R/wpplot.R

wp_bgfillR Documentation

Fill the background of gene with color according to amount of gene expression.

Description

Generate a color array.Fill the gene then generate the legend.

Usage

wp_bgfill(
  p,
  value,
  high = "red",
  low = "blue",
  legend = TRUE,
  legend_x = 0.001,
  legend_y = 0.94
)

Arguments

p

p is

value

value is the amount of expression.

high

The color of highest gene.

low

The color of lowest gene.

legend

Whether you need legend.

legend_x

horizontal position of the legend

legend_y

vertical position of the legend

Value

A 'wpplot' object


wikiprofiler documentation built on June 8, 2025, 1:29 p.m.