Created
June 4, 2012 04:40
-
-
Save bobthecat/2866386 to your computer and use it in GitHub Desktop.
ppiNetwork
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library("igraph") | |
gg <- graph.data.frame(ppi) | |
plot(gg, | |
layout = layout.fruchterman.reingold, | |
vertex.label = V(gg)$name, | |
vertex.label.color= "black", | |
edge.arrow.size=0, | |
edge.curved=FALSE | |
) | |
## interactive display using tk | |
tkplot(gg, | |
layout = layout.fruchterman.reingold, | |
vertex.label = V(gg)$name, | |
vertex.label.color= "black", | |
edge.arrow.size=0, | |
edge.curved=FALSE | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment