Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

clusterSim

clusterSim


Description

semantic similarity between two gene clusters

Usage

clusterSim(cluster1, cluster2, measure = "Wang", combine = "BMA")

Arguments

cluster1

a vector of gene IDs

cluster2

another vector of gene IDs

measure

One of "Resnik", "Lin", "Rel", "Jiang" and "Wang" methods.

combine

One of "max", "avg", "rcmax", "BMA" methods, for combining

Details

given two gene clusters, this function calculates semantic similarity between them.

Value

similarity

Author(s)

Yu Guangchuang

Examples

cluster1 <- c("835", "5261","241", "994")
cluster2 <- c("307", "308", "317", "321", "506", "540", "378", "388", "396")
clusterSim(cluster1, cluster2)

DOSE

Disease Ontology Semantic and Enrichment analysis

v3.16.0
Artistic-2.0
Authors
Guangchuang Yu [aut, cre], Li-Gen Wang [ctb], Vladislav Petyuk [ctb], Giovanni Dall'Olio [ctb], Erqiang Hu [ctb]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.