Sun_annotation {dSimer} | R Documentation

## Sun's annotation measure of disease similarity calculating

### Description

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

### Usage

    Sun_annotation(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

Sun K, Goncalves JP, Larminie C. Predicting disease associations via biological network analysis[J]. BMC bioinformatics, 2014, 15(1): 304.

### Examples

    data(d2g_separation)
    ds<-sample(names(d2g_separation),5)
    Sun_annotation(ds,ds,d2g_separation)

[Package dSimer version 1.8.0 Index]