hlpr_labs_add_on: Return customized ggplot:labs()

View source: R/helper-functions.R

hlpr_labs_add_onR Documentation

Return customized ggplot:labs()

Description

Helper function

Usage

hlpr_labs_add_on(input, input_str, color_str, display_title)

Arguments

input

The color_to argument

input_str

Title-prefix. Should be one of 'Genes:', 'Gene set:' or 'Feature:'.

color_str

Legend title

display_title

Logical. If set to FALSE only the legend-title will be specified.

Value

A customized ggplot2::labs()-function.


kueckelj/SPATA documentation built on March 22, 2022, 9:59 p.m.