Description Usage Arguments Value Author(s) References See Also Examples
given two vectors of diseases and a list of disease-go term associations, this function will calculate disease similarity by method Sun_function
1 | Sun_function(D1, D2, d2go)
|
D1 |
a vector consists disease ids |
D2 |
another vector consists disease ids |
d2go |
a list of disease-go term 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.
get_GOterm2GeneAssos
, HypergeometricTest
1 2 3 4 5 6 7 8 9 10 11 | ## get a sample of disease-GO associations
data(d2go_sample)
##### the entire disease-GO associations can be obtained by follows:
## go2g<-get_GOterm2GeneAssos(GOONTOLOGY = "BP", geneid="SYMBOL") #get go-gene associations
## data(d2g_fundo_symbol)
## d2go<-HypergeometricTest(d2g = d2g_fundo_symbol,go2g = go2g)
##### ###################################################
ds<-names(d2go_sample)
Sun_function(ds,ds,d2go_sample)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.