Learn R Programming

miRNApath (version 1.32.0)

convertFoldChange: Converts Fold Change to Consistent Format

Description

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.

Value

numerical values in the defined format

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.

Examples

Run this code
## No examples currently.

Run the code above in your browser using DataLab