PlotMetpaPath: Plot KEGG pathway

View source: R/enrich_path_graphics.R

PlotMetpaPathR Documentation

Plot KEGG pathway

Description

Plot KEGG pathway

Usage

PlotMetpaPath(
  mSetObj = NA,
  pathName,
  width = NA,
  height = NA,
  format = "png",
  dpi = NULL
)

Arguments

mSetObj

Input name of the created mSet Object

pathName

Input the name of the selected KEGG pathway

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.

height

height value for the image.

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.

Author(s)

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


xia-lab/MetaboAnalystR documentation built on May 6, 2024, 2:41 a.m.