mergeBiopax {paxtoolsr} | R Documentation

## Merges two BioPAX OWL files

### Description

This function merges two BioPAX OWL files

### Usage

    mergeBiopax(inputFile1, inputFile2, outputFile = NULL)

### Arguments

`inputFile1` | a string of the name of the input BioPAX OWL file
`inputFile2` | a string of the name of the input BioPAX OWL file
`outputFile` | a string of the name of the output merged BioPAX OWL file (Optional)

### Details

Only entities that share IDs will be merged. No additional merging occurs on cross-references. Merging may result in warning messages caused as a result of redundant actions being checked against by the Java library; these messages may be ignored.

### Value

an XMLInternalDocument representing a BioPAX OWL file

### Examples

    outFile <- tempfile()
    results <- mergeBiopax(system.file("extdata", "raf_map_kinase_cascade_reactome.owl",
                           package="paxtoolsr"),
                           system.file("extdata", "dna_replication.owl",
                           package="paxtoolsr"),
                           outFile)

[Package paxtoolsr version 1.22.0 Index]