mergePathways: This function merges two given pathways

Description Usage Arguments Value Author(s)

View source: R/modifyBiopax.R

Description

This function merges two given pathways and appends it to the supplied biopax model. The user has to specify a new name for the pathways and can supply ID, ORGANISM and COMMENT properties for the new pathway. If no ID is supplied, a new unique ID is generated. If no organism property is supplied the organism property of the first pathway is re-used. If ORGANISM is NULL the property is not set. Optionally a comment can be added to the pathway.

Usage

1
2
3
4
5
6
7
8
9
mergePathways(
  biopax,
  pwid1,
  pwid2,
  NAME,
  id = NULL,
  ORGANISM = "",
  COMMENT = NULL
)

Arguments

biopax

A biopax model

pwid1

string. ID of first pathway to merge

pwid2

string. ID of second pathway to merge

NAME

string. Name of the new merged pathway

id

string. ID for the pathway. If NULL a new ID is generated with prefix "pathway".

ORGANISM

string. Organism property of the pathway. By default uses the same organism as the first supplied pathway. If NULL no organism property is set.

COMMENT

string. An optional comment

Value

A biopax model with the merged pathway added.

Author(s)

fkramer


frankkramer-lab/rBiopaxParser documentation built on July 19, 2020, 9:49 a.m.