KEGG_module_topology_plot: KEGG topology plot with highlighted module nodes.

View source: R/KEGG_module_topology_plot.R

KEGG_module_topology_plotR Documentation

KEGG topology plot with highlighted module nodes.

Description

The KEGG_module_topology_plot is a function to highlght module location on KEGG pathway topology.

Usage

KEGG_module_topology_plot(
  res_KEGG_module,
  which_to_draw = "all",
  filePath = getwd()
)

Arguments

res_KEGG_module:

a result list from function KEGG_module.

which_to_draw:

either a numeric vector indicating module sizes of interest to highlight or "all" which will show all module size scenarios in the res_KEGG_module provided.

filePath:

the path to save the elbow plot. Default is the current working directory.

Value

KEGG pathway topology plots with different module highlighted will be saved as .png files in the filePath provided.

Examples

## Not run: 
#res_KEGG_module from the KEGG_module step (see the example in function 'KEGG_module')
res = KEGG_module_topology_plot(res_KEGG_module,which_to_draw = c(4,8,9))

## End(Not run)

CAMO-R/Rpackage documentation built on July 20, 2023, 6:04 a.m.