makeMultiLayer: Make a multi-layer network

View source: R/MultiLayerFunctions.R

makeMultiLayerR Documentation

Make a multi-layer network

Description

Function to make the multi-layer network by connecting the Genome-Scale Metabolic Network (GSMN) and the experimental networks

Usage

makeMultiLayer(inputData, expNetworks, pathToMappings)

Arguments

inputData

list, list returned by the loadInputData function

expNetworks

list, list returned by the buildExpNet function

pathToMappings

path, path to folder containing the file(s) with the mapping between the metabolites from the experimental networks and those from the GSMN. Such mapping can be obtained with tools such as Metabolomics2Networks (see the MultiLayerNetwork vignette). The file must contain at least 4 columns, separated by tabs: "metabolite name" (name of the features from the peak list), "mapped on id" (id of the corresponding metabolite from the GSMN), "distance" (distance between the feature and its corresponding metabolite. Note. The distance is equal to zero when the mapping is exact), and "chebi" (ChEBI id of the corresponding metabolite from the GSMN)

Value

Multi-layer network in list format containing 3 named elements:

Author(s)

Elva Novoa, elva-maria.novoa-del-toro@inrae.fr

Examples

# See the MultiLayerNetwork vignette


MetClassNet/MetClassNetR documentation built on June 30, 2023, 2:12 p.m.