Description Usage Arguments Value Note Author(s) References See Also
Given a vector of observed binding site scores and a desired false discovery rate, this function returns the lowest score that should be considered significant to achieve the given false discovery rate.
1 |
score |
Numeric vector with binding site scores. |
alpha |
Desired false discovery rate. |
tailCut |
Truncation point used to exclude outliers when fitting the null distribution. |
adapt |
Logical indicating whether an adaptive false discovery rate should be used. |
lambda |
If |
plot |
If this is |
returnPval |
Indicates whether or not the corrected p-values for all scores should be returned. |
A list with components
cutoff |
A numeric vector with the score and nominal false discovery rate corresponding to the determined cutoff. |
h0 |
A numeric vector with the mean and standard deviation of the estimated null distribution. |
pvalue |
If |
pi0 |
If |
This function is used by callBindingSites
to determine the significance threshold for
peak-calling.
Peter Humburg
For the adaptive false discovery rate procedure used if adapt=TRUE
see
JD Storey, JE Taylor and D Siegmund. Strong control, conservative point
estimation and simultaneous conservative consistency of false discovery rates: a unified approach.
Journal of the Royal Statistical Society B, 66(1):187-205, 2004.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.