geneSim: geneSim

View source: R/geneSim.R

geneSimR Documentation

geneSim

Description

measuring similarities bewteen two gene vectors.

Usage

geneSim(
  geneID1,
  geneID2 = NULL,
  ont = "HDO",
  organism = "hsa",
  measure = "Wang",
  combine = "BMA"
)

Arguments

geneID1

entrez gene vector

geneID2

entrez gene vector

ont

one of "HDO" and "MPO"

organism

one of "hsa" and "mmu"

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.

Details

provide two entrez gene vectors, this function will calculate their similarity.

Value

score matrix

Author(s)

Guangchuang Yu https://yulab-smu.top

Examples

g <- c("835", "5261","241", "994")
geneSim(g)

GuangchuangYu/DOSE documentation built on Oct. 31, 2024, 9:15 a.m.