PlotHeatMap: Create Heat Map Plot

Description Usage Arguments Author(s)

View source: R/stats_clustering.R

Description

Plot a heatmap based on results from t-tests/ANOVA, VIP or randomforest

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
PlotHeatMap(
  mSetObj = NA,
  imgName,
  format = "png",
  dpi = 72,
  width = NA,
  dataOpt,
  scaleOpt,
  smplDist,
  clstDist,
  palette,
  viewOpt = "detail",
  rowV = T,
  colV = T,
  var.inx = NA,
  border = T,
  grp.ave = F
)

Arguments

mSetObj

Input name of the created mSet Object

imgName

Input a name for the plot

format

Select the image format, "png", or "pdf".

dpi

Input the dpi. If the image format is "pdf", users need not define the dpi. For "png" images, the default dpi is 72. It is suggested that for high-resolution images, select a dpi of 300.

width

Input the width, there are 2 default widths, the first, width = NULL, is 10.5. The second default is width = 0, where the width is 7.2. Otherwise users can input their own width.

dataOpt

Set data options

scaleOpt

Set the image scale

smplDist

Input the sample distance method

clstDist

Input the clustering distance method

palette

Input color palette choice

viewOpt

Set heatmap options, default is set to "detail"

rowV

Default is set to T

colV

Default is set to T

var.inx

Default is set to NA

border

Indicate whether or not to show cell-borders, default is set to T

grp.ave

Logical, default is set to F

Author(s)

Jeff Xiajeff.xia@mcgill.ca McGill University, Canada License: GNU GPL (>= 2)


xia-lab/MetaboAnalystR3.0 documentation built on May 6, 2020, 11:03 p.m.