PlotSubHeatMap: Create Sub Heat Map Plot

PlotSubHeatMapR Documentation

Create Sub Heat Map Plot

Description

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

Usage

PlotSubHeatMap(
  mSetObj = NA,
  imgName,
  format = "png",
  dpi = 72,
  width = NA,
  dataOpt,
  scaleOpt,
  smplDist,
  clstDist,
  palette,
  fzCol,
  fzRow,
  fzAnno,
  annoPer,
  unitCol,
  unitRow,
  method.nm,
  top.num,
  rowV = T,
  colV = T,
  border = T,
  grp.ave = F,
  show.legend = T,
  show.annot.legend = T,
  showColnm = T,
  showRownm = T,
  viewOpt,
  download = 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

method.nm

Input the method for sub-heat map

top.num

Input the top number

rowV

Default is set to T

colV

Default is set to T

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"

Author(s)

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


xia-lab/MetaboAnalystR documentation built on Dec. 23, 2024, 3:44 p.m.