BOG: calculate disease similarity by BOG

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

Description

given two vectors of diseases and a list of disease-gene associations, this function will calculate disease similarity by method BOG.

Usage

1
BOG(D1, D2, d2g)

Arguments

D1

a vector consists disease ids

D2

another vector consists disease ids

d2g

a list of disease-gene associations

Value

a matrix of disease disease simialrity which rownames is D1 and colnames is D2

Author(s)

Peng Ni, Min Li

References

Mathur S, Dinakarpandian D. Automated ontological gene annotation for computing disease similarity[J]. AMIA Summits on Translational Science Proceedings, 2010, 2010: 12

See Also

Normalize

Examples

1
2
3
4
data(d2g_separation) #get disease-gene associations
ds<-sample(names(d2g_separation),5)
sim<-BOG(ds,ds,d2g_separation)
Normalize(sim) #normalize BOG sim scores

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