geneSim {meshes} | R Documentation

## geneSim

### Description

semantic similarity between two gene vector

### Usage

    geneSim(geneID1, geneID2 = NULL, measure = "Wang", combine = "BMA", semData)

### Arguments

`geneID1` | gene ID vector
`geneID2` | gene ID vector
`measure` | one of "Wang", "Resnik", "Rel", "Jiang" and "Lin"
`combine` | One of "max", "avg", "rcmax", "BMA" methods, for combining semantic similarity scores of multiple DO terms associated with gene/protein.
`semData` | gene annotation data for semantic measurement

### Value

score matrix

### Author(s)

Guangchuang Yu

### Examples

    ## hsamd <- meshdata("MeSH.Hsa.eg.db", category='A', computeIC=T, database="gendoo")
    data(hsamd)
    geneSim("241", "251", semData=hsamd, measure="Wang", combine="BMA")

[Package meshes version 1.14.0 Index]