This function lists all components of a given complex.

Share:

Description

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

Usage

1
listComplexComponents(biopax, id, returnIDonly = FALSE, biopaxlevel = 3)

Arguments

biopax

A biopax model

id

string. A complex ID

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

Author(s)

Frank Kramer

Examples

1
2
3
 # load data
 data(biopaxexample)
 listComplexComponents(biopax, id="ex_m_100650")

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.