PlotHeatMap: Create Heat Map Plot

PlotHeatMapR Documentation

Create Heat Map Plot

Description

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

Usage

PlotHeatMap(
  mSetObj = NA,
  imgName,
  format = "png",
  dpi = 72,
  width = NA,
  dataOpt,
  scaleOpt,
  smplDist,
  clstDist,
  palette,
  fzCol,
  fzRow,
  fzAnno,
  annoPer,
  unitCol,
  unitRow,
  rowV = T,
  colV = T,
  var.inx = NULL,
  border = T,
  grp.ave = F,
  show.legend = T,
  show.annot.legend = T,
  showColnm = T,
  showRownm = T,
  maxFeature = 2000
)

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

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

viewOpt

Set heatmap options, default is set to "detail"

metadata

metadata

Author(s)

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


xia-lab/MetaboAnalystR documentation built on April 20, 2024, 8:13 p.m.