This functions splits up a complex into its components.

Share:

Description

This function looks up the supplied Complex ID and returns the names of all its components.

Usage

1
2
splitComplex(biopax, complexid, recursive = TRUE, returnIDonly = FALSE,
  biopaxlevel = 3)

Arguments

biopax

A biopax model

complexid

string ID of an complex

recursive

logical

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

Returns a character vector with the names of all subcomponents.

Author(s)

Frank Kramer

Examples

1
2
3
4
5
6
 # load data
 data(biopaxexample)
 selectInstances(biopax, id="ex_m_100650")
 listInstances(biopax, id="ex_m_100650")
 listComplexComponents(biopax, id="ex_m_100650")
 splitComplex(biopax, complexid="ex_m_100650")

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