Learn R Programming

DOSE (version 2.10.6)

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", "average", "rcmax", "BMA" methods, for combining

Value

similarity

Details

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

Examples

Run this code

## cluster1 <- c("835", "5261","241", "994")
## cluster2 <- c("307", "308", "317", "321", "506", "540", "378", "388", "396")
## clusterSim(cluster1, cluster2, ont="MF", organism="human", measure="Wang")

Run the code above in your browser using DataLab