ibhClusterEval {ibh} | R Documentation |
This function calculated interaction based homogeneity for a clustering result.
ibhClusterEval(cluster, allGenesList, interactionList)
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. |
A vector of floats representing interaction based homogeneity for each cluste
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)