Learn R Programming

ggpmisc (version 0.6.0)

FC_name: 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")
)

Value

a character string or an 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".

Examples

Run this code

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)

Run the code above in your browser using DataLab