KEGG_module_topology_plot: KEGG topology plot with highlighted module nodes.

Description Usage Arguments Value Examples

View source: R/KEGG_module_topology_plot.R

Description

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

Usage

1
2
3
4
5
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

1
2
3
4
5
## 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)

weiiizong/CAMO documentation built on Dec. 23, 2021, 5:09 p.m.