getGOSim: getGOSim

Description Usage Arguments Value Author(s) Examples

View source: R/utilities.R

Description

Compute the GO term similarity

Usage

1
2
getGOSim(g, selectedGO, method = c("Resnik", "Lin", "Schlicker", "Jiang",
  "Pesquita"), multicores = NULL)

Arguments

g

igraph object

selectedGO

list which name is selected GO term

method

method for computing the similarity

multicores

an integer to specify how many cores will be registered as the multicore parallel backend to the 'foreach' package.

Value

similarity matrix

Author(s)

Li Zhaohong && Wu Zefeng

Examples

1
2
3
4
5
library(igraph)
#just for an example:
#HPPA <-dRDataLoader(RData='ig.HPPA')
#g <- ig.HPPA
#getGOSim(g, selectedGO, method= "Resnik", multicores = 3)

ShadowFiendSF/GSminer documentation built on May 29, 2019, 3:03 p.m.