Description Usage Arguments Value Author(s) References See Also Examples
given two vectors of diseases, a list of disease-gene associations and a PPI network, this function will calculate network-based separation by method Separation.
1 | Separation(D1, D2, d2g, graph)
|
D1 |
a vector consists disease ids |
D2 |
another vector consists disease ids |
d2g |
a list of disease-gene associations |
graph |
an igraph graph object of PPI network |
a matrix of disease disease network-based separation which rownames is D1 and colnames is D2
Peng Ni, Min Li
Menche J, Sharma A, Kitsak M, et al. Uncovering disease-disease relationships through the incomplete interactome[J]. Science, 2015, 347(6224): 1257601.
1 2 3 4 5 6 7 8 | data(d2g_separation)
data(interactome)
graph_interactome<-graph.data.frame(interactome,directed=FALSE)
ds<-sample(names(d2g_separation),5)
sep<-Separation(ds,ds,d2g_separation,graph_interactome)
sim<-Separation2Similarity(sep)
sim
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.