Sun_annotation {dSimer} | R Documentation |
given two vectors of diseases and a list of disease-gene associations, this function will calculate disease similarity by method Sun_annotation
Sun_annotation(D1, D2, d2g)
D1 |
a vector consists disease ids |
D2 |
another vector consists disease ids |
d2g |
a list of disease-gene associations |
a matrix of disease disease simialrity which rownames is D1 and colnames is D2
Peng Ni, Min Li
Sun K, Goncalves JP, Larminie C. Predicting disease associations via biological network analysis[J]. BMC bioinformatics, 2014, 15(1): 304.
data(d2g_separation) ds<-sample(names(d2g_separation),5) Sun_annotation(ds,ds,d2g_separation)