met.plot_CorrHeatMap_Features | R Documentation |
met.plot_CorrHeatMap_Features
visualizes the correlations between features.
met.plot_CorrHeatMap_Features(
mSetObj = NA,
imgName = "correlation_features",
format = "pdf",
dpi = NULL,
width = NA,
cor.method = "pearson",
colors = "bwm",
viewOpt = "overview",
fix.col = TRUE,
no.clst = FALSE,
corrCutoff = 0,
plot = TRUE,
export = TRUE
)
mSetObj |
Input name of the created mSet object. |
imgName |
(Character) Enter a name for the image file (if |
format |
(Character, |
dpi |
(Numeric) resolution of the image file (if |
width |
(Numeric) width of the the image file in inches (if |
cor.method |
Indicate the correlation method, 'pearson', 'spearman', or 'kendall'. |
colors |
Indicate the colors for the heatmap, "bwm" for default, "gbr" for red/green, "heat" for heat colors, "topo" for topo colors, and "gray" for gray scale. |
viewOpt |
Indicate "overview" to get an overview of the heatmap, and "detail" to get a detailed view of the heatmap. |
fix.col |
(Logical) Fix colors ( |
no.clst |
(Logical) Indicate if the correlations should be clustered ( |
corrCutoff |
set correlation cut off |
plot |
(Logical, |
export |
(Logical, |
The input mSet object with added heat map showing the correlations between features. The plot can be retrieved from within R via print(mSetObj$imgSet$corr.heatmap_features.plot)
.
Nicolas T. Wirth mail.nicowirth@gmail.com Technical University of Denmark License: GNU GPL (>= 2)
adapted from PlotCorrHeatMap
(https://github.com/xia-lab/MetaboAnalystR).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.