fromAssosDFEntryToIGraphIdDF-Graph-method: A igraph function

Description Usage Arguments Details Examples

Description

Modification of dataframe giving in entry by user, from c("gene", "metabolite") to a dataFrame contaning one metabolite associated with the gene edge in the Graph by adding igraph id from Graph object

Usage

1
2
## S4 method for signature 'Graph'
fromAssosDFEntryToIGraphIdDF(object, data, indexMetabolite)

Arguments

Graph,

data, indexMetabolites

Details

indcieMetabolite selects either the first or second metabolite related to that gene

if indexMetabolite = 1 d1 = c("metabolite1giIdIniGraph", "metabolitesIdIniGraph") if indexMetabolite = 2 d2 = c("metabolite2giIdIniGraph", "metabolitesIdIniGraph")

where Graph param is the Graph object where data is (gene, metabolite) where indice metabolites is only 1 or 2

Examples

1
fromAssosDFEntryToIGraphIdDF(g, data, indexMetabolite)

sandraTL/PathQuantPadigm documentation built on May 29, 2019, 1:46 p.m.