Separation: calculating network-based separation of disease pairs

Description Usage Arguments Value Author(s) References See Also Examples

Description

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.

Usage

1
Separation(D1, D2, d2g, graph)

Arguments

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

Value

a matrix of disease disease network-based separation which rownames is D1 and colnames is D2

Author(s)

Peng Ni, Min Li

References

Menche J, Sharma A, Kitsak M, et al. Uncovering disease-disease relationships through the incomplete interactome[J]. Science, 2015, 347(6224): 1257601.

See Also

Separation2Similarity

Examples

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

PengNi/dSimer documentation built on May 8, 2019, 1:28 a.m.