Description Usage Arguments Details Examples
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
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
1 2 3 4 5 6 7 | ## S4 method for signature 'Graph'
getIdGeneInGraph(object, associatedGeneMetaDF,
indexMetabolite)
## S4 method for signature 'Graph'
getIdGeneInGraph(object, associatedGeneMetaDF,
indexMetabolite)
|
Graph, |
data, indexMetabolites |
Graph, |
data, indexMetabolites |
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
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
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.