Description Usage Arguments Value Examples
This function prepare standardized data for generating heatmap. Omics data, especially for expression, should be centered or scaled or z-scored (both centered and scaled). Generally, DNA methylation beta matrix and somatic mutation (0 and 1 binary matrix) should not be normalized. This function also provides an argument of ‘halfwidth' for continuous omics data; such argument is used to truncate the ’extremum' after normalization; specifically, normalized values that exceed the halfwidth boundaries will be replaced by the halfwidth, which is vary useful to map colors in heatmap.
1 2 3 4 5 6 |
data |
A list of data.frame or matrix storing raw multiple omics data with rows for features and columns for samples. |
halfwidth |
A numeric vector to assign marginal cutoff for truncating values in data; 1 by default. |
centerFlag |
A logical vector to indicate if each subdata should be centered; TRUE by default. |
scaleFlag |
A logical vector to indicate if each subdata should be scaled; TRUE by default. |
A standardized data.frame containing multi-omics data.
1 | # There is no example and please refer to vignette.
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.