PrepareHeatTreePlotDataParse_cmf_plot: Function to prepare heat tree data

View source: R/mdp_utils.R

PrepareHeatTreePlotDataParse_cmf_plotR Documentation

Function to prepare heat tree data

Description

This functions plots the heat tree.

Usage

PrepareHeatTreePlotDataParse_cmf_plot(
  mbSetObj,
  color,
  layoutOpt,
  comparison,
  wilcox.cutoff,
  imgName,
  format,
  dpi = 72
)

Arguments

mbSetObj

Input the name of the mbSetObj.

color

Character, input the color palette code. "dbgr" for dark blue, grey and red. "bgy" for greenblue, grey and yellow. "ggr" for green, grey and red. "pgy" for purple, gray and yellow. "tgr" for teal, grey and red. "ggg" for green, grey and gold. Additionally, the viridis R package can be used to generate color schemes. "plasma" for the plasma color scheme, "viridis" for the default viridis color scheme and "cividis" for the cividis color scheme.

layoutOpt

Character, input the layout of the heat tree. "dft" for the default layout and "reda" for reingold-tilford.

comparison

Character, input the group comparisons.

wilcox.cutoff

Numeric, input the Wilcoxan p-value cutoff for significant node labels.

imgName

Character, input the name of the heat tree plot.

format

Character, input the preferred format of the plot. By default it is set to "png".

dpi

Numeric, input the dots per inch. By default it is set to 72.

Author(s)

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


xia-lab/MicrobiomeAnalystR documentation built on April 12, 2024, 12:47 p.m.