Description Usage Arguments Value Examples
Obtain a graph object in the form of an igraph with KEGG-specific graphical information
1 2 | get_graph_object(node_mapping_info, expanded_edges,
layered_nodes = FALSE)
|
node_mapping_info |
The data.frame object generated by the function node_mapping_info() |
expanded_edges |
The data.frame object generated by the function edge_mapping_info() |
layered_nodes |
A logical indicator; if set to TRUE will create a graph with 'stacked' nodes that the user can manipulate when multiple nodes are mapped to one location |
A list object with the node and edge information from the graph required for mapping.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | p53_KGML <- get_KGML("hsa04115")
p53_KEGG_mappings <- expand_KEGG_mappings(p53_KGML)
p53_node_mapping_info <- node_mapping_info(p53_KEGG_mappings)
p53_edge_mapping_info <- expand_KEGG_edges(p53_KGML, p53_KEGG_mappings)
#Default graph object will have 'expanded edges':
expanded_edges_graph_object <- get_graph_object(p53_node_mapping_info,
p53_edge_mapping_info)
#Graph with layered nodes:
layered_nodes_graph_object <- get_graph_object(p53_node_mapping_info,
p53_edge_mapping_info,
layered_nodes = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.