plotspwheatmap: Plot heat map of the metabolic subpathway activity matrix

Description Usage Arguments Details Value

View source: R/plotspwheatmap.R

Description

According to the threshold of the set P value, The 'plotspwheatmap()' function plots a heat map of the significant metabolic subpathways.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
plotspwheatmap(
  DF_result,
  PValue_threshold = 0.01,
  main = "",
  show.rownames = TRUE,
  show.colnames = TRUE,
  fontsize = 10,
  fontsize.row = 10,
  fontsize.col = 10,
  cluster_rows = FALSE,
  cluster_cols = FALSE,
  scale = "none"
)

Arguments

DF_result

A list of result data generated by function 'CalculateDF()'.

PValue_threshold

Threshold for screening significant metabolic subpathways.

main

an overall title for the heatmap.

show.rownames

Boolean specifying if row names are be shown.

show.colnames

Boolean specifying if column names are be shown.

fontsize

Base fontsize for the plot (default: 10).

fontsize.row

Fontsize for rownames (default: 10).

fontsize.col

Fontsize for colnames (default: 10).

cluster_rows

boolean values determining if rows should be clustered or hclust object.

cluster_cols

boolean values determining if columns should be clustered or hclust object.

scale

Character indicating if the values should be centered

Details

plotspwheatmap

Value

A heat map. ##' @examples require(pheatmap) DFspw<-get("DFspw") plotspwheatmap(DFspw,cluster_rows = TRUE,show.colnames = FALSE)


hanjunwei-lab/crmSubpathway documentation built on Jan. 26, 2021, 8:50 a.m.