create_prefix: create_prefix

View source: R/outputargs.R

create_prefixR Documentation

create_prefix

Description

Standard function to create systematic prefixes from parameters. The output will be of the form q_crit=(critical q-value)_cutoff=(the mean abundance cutoff)_magfac=(the magnitude factor) in scientific notation.

Usage

create_prefix(
  q_crit = NULL,
  p_crit = NULL,
  cutoff = NULL,
  magfac = NULL,
  digits = 2
)

Arguments

q_crit

critical q-value. Ignored if not set

p_crit

critical p-value, ignored if q-crit is set.

cutoff

The abundance cutoff. Ignored if not set

magfac

The magnitude factor. Ignored if not set

digits

The number of significant digits in the resulting string

Value

A character vector of length one

Examples

create_prefix(q_crit = 1e-5,cutoff = 1e-4,magfac = 10, digits = 3)
create_prefix(p_crit = 1e-5,cutoff = 1e-4,magfac = 10, digits = 5)

AlmaasLab/micInt documentation built on April 1, 2022, 10:37 a.m.