FC_name: Fold change- axis labels

View source: R/scale-continuous-logFC.r

FC_nameR Documentation

Fold change- axis labels

Description

Generate axis labels for different log-fold change on different log bases.

Usage

FC_name(
  name = "Abundance%unit",
  log.base = FALSE,
  format = getOption("photobiology.math", default = "R.expression")
)

Arguments

name

character The axis-label or name of the scale.

log.base

integer The base used for the logarithm transformation.

format

character string, "R", "R.expression", "R.character", or "LaTeX".

Value

a character string or an R expression.

Examples


FC_name()
FC_name(format = "R.expression")
FC_name(format = "LaTeX")
FC_name(name = "Metabolite concentration")
FC_name(log.base = 10)
FC_name(log.base = 0)


ggpmisc documentation built on Nov. 16, 2023, 5:10 p.m.