expressionMatrixToMvalue | R Documentation |
Translate raw gene abundance data into log2 fold change data commonly called M-values
expressionMatrixToMvalue(x, average.FUN = median, minIntensity = 0, small.offset = 1)
x |
Matrix of gene expression data, as form |
average.FUN |
The averaging function to apply to each row of |
minIntensity |
The minimum allowed value for elements of |
small.offset |
The linear offset to add to all row elements, before division and log2 transform, to prevent divide-by-zero results and to minimize extreme fold changes from very low expression values |
After M-value transformation, those row elements that are greater than the average expression will be positive, while elements lower than the average expression will be negative values. A value of 1.0 means 2-fold higher expression and a value of -2.0 means 4-fold lower expression.
A matrix of M-value fold change data, of the same dimensions and names as m
, suitable for heatmaps, etc.
This function is called by 'expressionHeatmap()'
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.