Learn R Programming

rBiopaxParser (version 2.10.0)

listInteractionComponents: This function lists all components of a given interaction.

Description

This function returns a (unique) data.frame listing IDs, names and classes of all components of the supplied interaction.

Usage

listInteractionComponents(biopax, id, splitComplexes = TRUE, returnIDonly = FALSE, biopaxlevel = 3)

Arguments

biopax
A biopax model
id
string. A complex ID
splitComplexes
logical. If TRUE complexes are split up into their components and the added to the listing.
returnIDonly
logical. If TRUE only IDs of the components are returned. This saves tiem for looking up names for every single ID.
biopaxlevel
integer. Set the biopax level here if you supply a data.table directly.

Value

data.frame

Examples

Run this code
# load data
 data(biopaxexample)
 listInteractionComponents(biopax, id="ex_i_100036_activator_1")

Run the code above in your browser using DataLab