我需要在R中绘制这个结构:
(1000) Diseases of the genitourinary system
(1580) Nephritis, nephrotic syndrome, and nephrosis
(580) Acute glomerulonephritis
(580.9) Glomerulonephritis, acute, unspec.
(581) Nephrotic syndrome
(581.9) Nephrotic syndrome, unspec.
(582) Chronic glomerulonephritis
(582.9) Glomerulonephritis, chronic, unspec.
(583) Nephritis and nephropathy, not specified as acute or chronic
(584) Acute renal failure
(584.5) Renal failure, acute w/ tubular necrosis
as a nice jpg/pdf/(or other) which will have nodes, connections and labels using R of the structure above. I looked at libraries which require GrafViz installed and had no luck so native solution (e.g., using ggplot2) would be best. I was not able to put together the code using igraph. I am also new to graphics in R with no textbook based foundation. Any hints or advice would be appreciated.
上述结构仅举一例。 其它结构可能拥有50+的概念, 可以作为非常大的 PDF/ poser 绘制和打印。 此图将是静态的( 没有使用鼠标与其互动 ) 。