This function takes in either a bait to prey Graph (matrix) and, based on a binomial error model, partitions proteins identified as either affected by systematic or stochastic error. It is a wrapper function that will eventually call the qbinom function.

1 2 3 4 | ```
idSystematic(bpMat, viable, bpGraph = FALSE, pThresh = 0.01, pLevels =
1e-4, prob=0.5)
idStochastic(bpMat, bpGraph = FALSE, pThresh = 0.01, pLevels =
1e-4, prob=0.5)
``` |

`bpMat` |
Either a bait to prey directed graphNEL or its corresponding adjacency matrix. |

`viable` |
This is a character vector of viable proteins. It is only used in the idSystematic function. |

`bpGraph` |
A logical. If TRUE, than bpMat is passed in by the user as a graphNEL. |

`pThresh` |
The p-value threshold for which to partition stochastic or systematic errors |

`pLevels` |
A numeric. It gives the levels to calculate the countours of the function in p in the (n-in, n-out)-plane |

`prob` |
A numeric. The probability parameter in the call to the qbinom function. |

A character vector of proteins either affected by systematic or stochastic errors.

T Chiang

~put references to the literature/web site here ~

1 2 | ```
library(ppiData)
idSystematic(Ito2001BPGraph, viableBaits[[1]], bpGraph=TRUE)
``` |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.