MS2_mergeNetworks {MetaboSignal} | R Documentation

## Merge networks

### Description

This function allows merging two network-tables of interest.

### Usage

    MS2_mergeNetworks(network_table1, network_table2)

### Arguments

`network_table1` | three-column matrix where each row represents an edge between two nodes. See functions "MS_keggNetwork()" and "MS2_ppiNetwork()".
`network_table2` | three-column matrix where each row represents an edge between two nodes. See functions "MS_keggNetwork()" and "MS2_ppiNetwork()".

### Value

A three-column matrix where each row represents an edge between two nodes.

### Examples

    data(keggNet_example)
    data(ppiNet_example)

    # Fast example using subsets
    global_network1 <- MS2_mergeNetworks(keggNet_example[1:10, ],
                                         ppiNet_example[1:10, ])

     # Example using full datasets
    global_network2 <- MS2_mergeNetworks(keggNet_example, ppiNet_example)

[Package MetaboSignal version 1.22.0 Index]