PlotCorrHeatMap: Pattern hunter, corr heatmap

Description Usage Arguments Author(s)

View source: R/stats_correlations.R

Description

Plot correlation heatmap

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
PlotCorrHeatMap(
  mSetObj = NA,
  imgName,
  format = "png",
  dpi = 72,
  width = NA,
  target,
  cor.method,
  colors,
  viewOpt,
  fix.col,
  no.clst,
  top,
  topNum
)

Arguments

mSetObj

Input name of the created mSet Object.

imgName

Input the name of the image to create

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.

target

Input "row" to select features, or "col" to select samples.

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 (TRUE) or not (FALSE).

no.clst

Logical, indicate if the correlations should be clustered (TRUE) or not (FALSE).

top

View top

topNum

Numeric, view top McGill University, Canada License: GNU GPL (>= 2)

Author(s)

Jeff Xiajeff.xia@mcgill.ca


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