set_enrichplot_color: set_enrichplot_color

View source: R/utilities.R

set_enrichplot_colorR Documentation

set_enrichplot_color

Description

helper function to set color for enrichplot

Usage

set_enrichplot_color(
  colors = get_enrichplot_color(2),
  type = "color",
  name = NULL,
  .fun = NULL,
  ...
)

Arguments

colors

user provided color vector

type

one of 'color', 'colour' or 'fill'

name

name of the color legend

.fun

force to use user provided color scale function

...

additional parameter that passed to the color scale function

Value

a color scale


YuLab-SMU/enrichplot documentation built on April 15, 2024, 5:18 p.m.