runCompIndep {simulatorAPMS}R Documentation

Function checks the arguments and parameters for compIndep.

Description

Makes sure that the same set of proteins are used for both each of the first two arguments.

Usage

runCompIndep(TSNMat, estMat, intersectMat)

Arguments

TSNMat Incidence Matrix for the True State of Nature (TSN) bipartite graph
estMat Incidence Matrix for the estimate bipartite graph
intersectMat A matrix of integers: the (i,j)th entry of this matrix is the cardinality of the intersection between the i-th complex of TSN and the j-th complex of the estimate.

Details

See above

Value

A numeric matrix:
Matrix that calculates the probablistic independence that a protein will be in both complex C-i of the TSN and K-j in the estimate.

Author(s)

T. Chiang

Examples

library(simulatorAPMS)
data(simEX)
data(APComEX)
CC = runCompareComplex(simEX, APComEX)
runCompIndep(simEX, APComEX, CC[[1]])

[Package simulatorAPMS version 1.8.0 Index]