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)

YuLab-SMU/DOSE documentation built on Nov. 3, 2024, 9:37 p.m.