JaccardCoef {simulatorAPMS} | R Documentation |
The JaccardCoef function takes the return values of compareComplexes function and calculates, for each pair of complexes C-i and K-j (where C is in ISI and K is in estimate), the similarity coefficient of Jaccard.
JaccardCoef(dataMat)
dataMat |
dataMat is the return value from compareComplex, a list of consisting of three matrices: intersection C-i and K-j, set difference C-i K-j, and set difference K-j C-i |
See above
The return value, SimilarityMat, is a matrix consisting of the Jaccaard coefficient for each pair of complexes C-i and K-j with rows in indexed by C-i and columns indexed by K-j.
Tony Chiang
library(simulatorAPMS) data(simEX) data(APComEX) komp = runCompareComplex(simEX, APComEX) JaccardCoef(komp)