format_xlab: Format X-axis label

View source: R/helpers.R

format_xlabR Documentation

Format X-axis label

Description

Returns a generic x-axis label for the plot based on the prefix and scale.

Usage

format_xlab(prefix, prefix_short, scale_y)

Arguments

prefix

A string indicating the prefix for the x-axis label.

prefix_short

A shorter version of the prefix for the x-axis label.

scale_y

A string indicating the scale of the x-axis (e.g., "log10", "linear").

Value

A formatted x-axis label.


SerolyzeR documentation built on June 8, 2025, 10:01 a.m.