indRender {keggorthology}R Documentation

indented textual rendering of nodes of a hierarchical graph

Description

indented textual rendering of nodes of a hierarchical graph

Usage

indRender(klike, from=nodes(klike)[1], indent="  ")

Arguments

klike

a graph, with tree structure similar to KOgraph

from

a node name from which the rendering should proceed to all leaves

indent

token to use for indentation – will be replicated to depth of node to be rendered to its left

Details

Based on keggorthology read of KEGG orthology, March 2 2010. Specifically, we run wget on ftp://ftp.genome.jp/pub/kegg/brite/ko/ko00001.keg and use parsing and modeling code given in inst/keggHTML to generate a data frame respecting the hierarchy, and then keggDF2graph to construct the graph.

Value

NULL

Author(s)

Vince Carey <stvjc@channing.harvard.edu>

Examples

data(KOgraph)
indRender(KOgraph, "Human Diseases")

[Package keggorthology version 2.44.0 Index]