prettifyGraph: returns metabolic graph with all the ornaments set Adds...

Description Usage Arguments Examples

Description

returns metabolic graph with all the ornaments set Adds details into the igraph object

Usage

1
2
prettifyGraph(g, vsize = c(1, 2), vcolor = c("grey", "red"),
  withText = TRUE, vtext = c(0.5, 1), layout = FALSE)

Arguments

g

igraph Object

vsize

the vertex size

vcolor

length 2 vector for KO and compounds

withText

Conditional to include labels in

vtext

two vector text valuevsize

layout

Whether to calculate the layoutvcolor

Examples

1
2
p = nitrogenMetab %>% prettifyGraph %>% ig2ggplot(., dfOnly=FALSE)
p

MetamapsDB documentation built on May 1, 2019, 9:23 p.m.