met.plot_heatmap | R Documentation |
met.plot_heatmap
plots a heat map with optional filtering for top features based on results from t-tests/ANOVA, VIP or randomforest.
met.plot_heatmap(
mSetObj = NA,
imgName = "Heatmap_features",
format = "pdf",
dpi = NULL,
width = NA,
dataOpt = "norm",
scaleOpt = "row",
smplDist = "euclidean",
clstDist = "ward.D",
palette = "bwm",
viewOpt = "detail",
rowV = T,
colV = T,
var.inx = NULL,
border = T,
grp.ave = F,
plot = TRUE,
export = TRUE
)
mSetObj |
Input name of the created mSet object. |
imgName |
(Character) Enter a name for the image file (if |
format |
( |
dpi |
(Numeric) resolution of the image file (if |
width |
(Numeric) width of the the image file in inches (if |
dataOpt |
(Character) Set data options. Choose |
scaleOpt |
(Character) Set value standardization option. |
smplDist |
(Character) Enter the sample distance method: |
clstDist |
(Character) Enter the feature clustering method: |
palette |
Input color palette choice: |
viewOpt |
Set view options, choose |
rowV |
(Logical) Shall clustering be applied to samples? |
colV |
(Logical) Shall clustering be applied to features? |
var.inx |
(Numeric vector) optional: Provide indeces of selected features to be plotted. |
border |
(Logical) Indicate whether or not to show cell-borders. |
grp.ave |
(Logical) Shall only group averages be shown (as opposed to displaying every sample)? |
plot |
(Logical, |
export |
(Logical, |
The input mSet object with added heat map. The plot can be retrieved from within R via print(mSetObj$imgSet$heatmap.avg.plot)
or print(mSetObj$imgSet$heatmap.all.plot)
, depending on grp.ave
.
Nicolas T. Wirth mail.nicowirth@gmail.com Technical University of Denmark License: GNU GPL (>= 2)
adapted from PlotHeatMap
(https://github.com/xia-lab/MetaboAnalystR).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.