Description Usage Arguments Value Author(s) Examples
plot topological relationship of two gene sets (which are associated with two diseases respectively).
1 2 3 4 5 |
geneset1 |
a character vector contains gene ids |
geneset2 |
another character vector contains gene ids |
graph |
an igraph graph object which represents a gene network |
vertexcolor |
a character vector contains 3 colors for vertexs |
vertex.shape |
vertex shape |
vertex.size |
vertex size |
vertex.label.font |
label text font |
vertex.label.dist |
label text dist |
vertex.label.color |
label text color |
vertex.label.cex |
label text cex |
edge.color |
edge color |
layout |
layout |
an igraph plot object
Peng Ni, Min Li
1 2 3 4 5 6 7 8 | data("PPI_HPRD")
g<-graph.data.frame(PPI_HPRD,directed = FALSE) #get an igraph graph
data(d2g_fundo_symbol)
a<-d2g_fundo_symbol[["DOID:8242"]] # get gene set a
b<-d2g_fundo_symbol[["DOID:4914"]] # get gene set b
plot_topo(a,b,g)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.