powered by
returns metabolic graph with all the ornaments set Adds details into the igraph object
prettifyGraph(g, vsize = c(1, 2), vcolor = c("grey", "red"), withText = TRUE, vtext = c(0.5, 1), layout = FALSE)
igraph Object
the vertex size
length 2 vector for KO and compounds
Conditional to include labels in
two vector text valuevsize
Whether to calculate the layoutvcolor
# NOT RUN { p = nitrogenMetab %>% prettifyGraph %>% ig2ggplot(., dfOnly=FALSE) p # }
Run the code above in your browser using DataLab