keggerize_edges {KEGGlincs} | R Documentation

## Add in edges to map documented in other pathways

### Description

For a specific pathway entity(gene), search KEGG databases to see if it has any other documented relationships in KEGG. expand_KEGG_edges

### Usage

    keggerize_edges(entry_accession, KGML, KEGG_mappings, edges)

### Arguments

`entry_accession` | The Accession # of the pathway entity to 'keggerize'
`KGML` | The KGML file of the current pathway
`KEGG_mappings` | KEGG mappings for the current pathway
`edges` | The expanded edges for the current pathway

### Value

A modified expanded edges data frame with additional rows for new entries

### Examples

    ## Not run:
    KGML <- get_KGML("hsa04150")
    KEGG_mappings <- expand_KEGG_mappings(KGML)
    edges <- expand_KEGG_edges(KGML, KEGG_mappings)
    entry_accession <- "2475"
    mtor_plus_mtor <- keggerize_edges(entry_accession = entry_accession,
                                      KGML = KGML,KEGG_mappings = KEGG_mappings,
                                      edges = edges)
    ## End(Not run)

[Package KEGGlincs version 1.16.0 Index]