keggerize_edges: Add in edges to map documented in other pathways

Description Usage Arguments Value Examples

View source: R/keggerize_edges.R

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

1
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

1
2
3
4
5
6
7
8
9
## 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)

KEGGlincs documentation built on Nov. 8, 2020, 5:47 p.m.