applyFPErrors {simulatorAPMS} | R Documentation |
This function generates the stochastic False Positive (FP) observations for each bait protein used in the AP-MS simulation.
applyFPErrors(notFoundProt, rateFP)
notFoundProt |
A vector of proteins |
rateFP |
A scalar within the unit interval indicating the rate at which stochastic FN obersevations are observed. |
This function tries to simulate the stochastic nature of the AP-MS
technology. The overall simulation function,
runSimulators
, will call the simulator
function on each bait protein along with some uniform random rate
at which the technology is estimated to generate FP observations.
A character vector of proteins, proteinFP:
The proteinsFP is a vector consisting of a subset of the notFoundProt
proteins which will serve as the FP output for bait B
T.Chiang
applyFNErrors
, applyStickyError
library(simulatorAPMS) data(TSNMatrix) exampleNotFoundPrey <- rownames(TSNMatrix)[50:100] applyFPErrors(exampleNotFoundPrey, 0.04)