pathway_analysis: Creates the metabolic pathway wanted. If any of the given...

Description Usage Arguments Value

View source: R/PATHWAY_ANALYSIS.R

Description

The pathway created contains the compounds, reactions and other paths that it connects to as nodes.

The compounds given in compounds are colored in blue, while the rest of the compounds are colored in grey.

The other paths that it may connect to are colored in orange.

Reversive reactions are colored in green and the irreversible ones in red.

Usage

1
2
3
pathway_analysis(compounds, pathway,
                nodeNames="kegg", nodeTooltip=FALSE,
                map.zoom=FALSE, map.layout="preset", map.width=NULL, map.height=NULL)

Arguments

compounds

Vector of compounds of interest, in kegg codes.

pathway

KEGG code (e.g., "hsa00010") of the path wanted.

nodeNames

How the nodes should be named. If "kegg", nodes are named with kegg codes. If "names", nodes are named with the common names.

nodeTooltip

If a tooltip should appear when hovering a node.

map.zoom

If the map should have the zoom in and out option.

map.layout

Layout of the map, available values are the ones of cytoscape ("breadthfirst", "preset", "cose", ...)

map.width

Width of the map, in percentage

map.height

Width of the map, in px (e.g. "500px")

Value

Shows the pathway created.


specmine documentation built on Sept. 21, 2021, 5:06 p.m.