Arguments
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 adapt is TRUE this is used in estimating the proportion of
scores that is unrelated to binding sites.
plot
If this is TRUE (the default) a plot of the observed score distribution
and estimated null distribution is generated.
returnPval
Indicates whether or not the corrected p-values for all scores should be returned.