ibhClusterEval: Evaluate clustering with interaction based homogeneity

Description Usage Arguments Value Examples

View source: R/ibh.R

Description

This function calculated interaction based homogeneity for a clustering result.

Usage

1
ibhClusterEval(cluster, allGenesList, interactionList)

Arguments

cluster

result of clustering

allGenesList

list of genes in the same order of clustering object

interactionList

list containing the interactions. For each gene/protein, the is an entry in the list with "name" containing name of the gen/protein and "interactors" containing the list of genes/proteins interacting with it.

Value

A vector of floats representing interaction based homogeneity for each cluste

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
require(yeastCC)
require(stats)
data(yeastCC)
require(simpIntLists)
data(YeastBioGRIDInteractionUniqueId)

subset <- exprs(yeastCC)[1:50,]
d <- dist(subset,method="euclidean")
k <- kmeans(d, 3);
ibhClusterEval(k$cluster, rownames(subset), 
			YeastBioGRIDInteractionUniqueId)
  

ibh documentation built on Nov. 8, 2020, 7:49 p.m.