compIndep {simulatorAPMS} | R Documentation |
This function calculates the probability that a protein is in Cluster C-i and the probability that a protein is in cluster K-j and then the joint probability that the protein is in both C-i and K-j. The function compares the joint distributions with the marginals.
compIndep(TSNMat, erMat, intersectMat)
TSNMat |
The matrix representation of the bipartite graph of the ISI |
erMat |
The matrix representation of the estimate of the ISI |
intersectMat |
A matrix that records the intersection between the complexes of ISI and the complexes of the estimate |
see above
The return value is a matrix of real numbers that account for how independent the marginals are from the joint distribution of protein membership to complexes.
Tony Chiang