The script tries to determine if the fold changes
are in an expected format, and if not, does its best
to convert correctly. Internal function.
Usage
convertFoldChange(foldchanges, style)
Arguments
foldchanges
numerical values with fold changes
style
type of fold change to return.
Details
Allowed formats are:
"log directional" (contains continuous numbers positive and
negative, including numbers between -1 and 1),
"directional", includes positive and negative values, but no
numbers between -1 and 1, and
"fractional", includes values greater than zero, especially
those less than one.