Note that this needs to convert negative logFC numbers to absolute values to get correct fold-change estimates. limma reports `logFC` as the 'estimate of the log2-fold-change'. For fold-changes in the negative direction we need to use the absolute value of the fold-change before applying the sign

limma_logFC_to_signed_foldchange(logFC)

Arguments

logFC

A logFC value reported by limma

Value

foldchange A signed fold-change value