BOG {dSimer} | R Documentation

## calculate disease similarity by BOG

### Description

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

### Usage

    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

    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

[Package dSimer version 1.12.0 Index]