pepBayesCalls-methods: Call peptide binding from pepBayes output.

Description Usage Arguments Details Value See Also

Description

Use posterior probability of response to generate a call threshold that controls the false discovery rate of pepBayes positivity calls.

Usage

1
2
3
4
5
6
7
pepBayesCalls(x, fdr, ...)

## S4 method for signature 'pepBayesFit,numeric'
pepBayesCalls(x, fdr = 0.05)

## S4 method for signature 'matrix,numeric'
pepBayesCalls(x, fdr = 0.05)

Arguments

x

A matrix or pepBayesFit object.

fdr

Desired false discovery rate.

Details

Probabilities are sorted in descending order. The largest integer K is selected such that the mean of the first K sorted probability values exceeds the value (1 - fdr). The probability threshold is chosen to be the K-th sorted probability value. Entries with probability greater than or equal to the threshold value are considered positive calls, else an entry is a negative call.

Value

A matrix of booleans with TRUE denoting a positive call, and FALSE a negative call.

See Also

pepBayesEcm pepBayesMcmc pepBayesFit-methods


RGLab/pepBayes documentation built on May 8, 2019, 5:55 a.m.