data("ex_kgml_sig")
plotNetwork(ex_kgml_sig, vertex.color="pathway")
plotNetwork(ex_kgml_sig, vertex.color="pathway", col.palette=heat.colors)
plotNetwork(ex_kgml_sig, vertex.color="pathway",
col.palette=c("red", "green","blue","grey"))
Run the code above in your browser using DataLab