Description Usage Arguments Value Examples
View source: R/buildGraphFromKEGGREST.R
Function infere.con2ec
infers network connections to KEGG EC
families by passing through genes. This assumes that the category being
mapped to enzymes is above them.
1 | infere.con2ec(ids, ent, ent2gene, gene2enzyme)
|
ids |
Character vector of identifiers to map. For example, all the KEGG pathways |
ent |
Character, entity that we are mapping
(one of |
ent2gene |
Named character vector, names are the entity |
gene2enyzme |
Named character vector, names are genes and values are EC enzyme families category Character, one of: |
Two-column data frame. Column "from"
contains the
KEGG enzyme families whereas "to"
contains the entity ent
.
1 2 3 4 5 | ids <- "hsa00010"
ent <- "pathway"
ent2gene <- c("hsa00010" = "hsa:10", "hsa00010" = "hsa:120")
gene2enzyme <- c("hsa:10" = "1.1.1.1", "hsa:120" = "1.2.3.4")
FELLA:::infere.con2ec(ids, ent, ent2gene, gene2enzyme)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.