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

Description Usage Arguments Author(s)

View source: R/enrich_integ.R

Description

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

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
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

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

path.id

Input the pathway id

Author(s)

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


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