splitComplex {rBiopaxParser} | R Documentation |
This function looks up the supplied Complex ID and returns the names of all its components.
splitComplex( biopax, complexid, recursive = TRUE, returnIDonly = FALSE, biopaxlevel = 3 )
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. |
Returns a character vector with the names of all subcomponents.
Frank Kramer
# 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")