formatPvalue: Format a p-value or FDR into a nice string.

Description Usage Arguments Value

View source: R/utilities.R

Description

Unlike the R format.pval, this function refrains from using scientific notation.

Usage

1
formatPvalue(v, label = "p", digits = 4)

Arguments

v

A p-value or FDR value to format.

label

String describing the value being presented.

digits

Number of decimal places to be used.

Value

A string of a nicely formatted value.


astrolabediagnostics/orloj documentation built on May 20, 2021, 2:17 p.m.