splitComplex: This functions splits up a complex into its components.

Description Usage Arguments Value Author(s) Examples

View source: R/selectBiopax.R

Description

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

Usage

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

rBiopaxParser documentation built on Nov. 8, 2020, 8:21 p.m.