PlotInmexGraph: Plot an igraph object and return the node information...

View source: R/enrich_integ.R

PlotInmexGraphR Documentation

Plot an igraph object and return the node information (position and labels)

Description

Plot an igraph object and return the node information (position and labels) Used in a higher function

Usage

PlotInmexGraph(
  mSetObj,
  pathName,
  g,
  width = NA,
  height = NA,
  bg.color = NULL,
  line.color = NULL,
  format = "png",
  dpi = NULL
)

Arguments

mSetObj

Input name of the created mSet Object

pathName

Input the pathway name

g

Input the graph

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

Input the height of the graph to create

bg.color

Set the background color, default is set to NULL

line.color

Set the line color, default is set to NULL

format

image format

dpi

dpi of the image

Author(s)

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


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