Description Usage Arguments Value Author(s) See Also Examples
Given filter and test statistics in the form of unadjusted pvalues, or functions able to compute these statistics from the data, filter and then correct the pvalues across a range of filtering stringencies.
1 2  filtered_p(filter, test, theta, data, method = "none")
filtered_R(alpha, filter, test, theta, data, method = "none")

alpha 
A cutoff to which pvalues, possibly adjusted for multiple testing, will be compared. 
filter 
A vector of stageone filter statistics, or a function which is able
to compute this vector from 
test 
A vector of unadjusted pvalues, or a function which is able
to compute this vector from the filtered portion of 
theta 
A vector with one or more filtering fractions to consider. Actual
cutoffs are then computed internally by applying

data 
If 
method 
The unadjusted pvalues contained in (or produced by) 
p
For filtered_p
, a matrix of pvalues, possible adjusted for
multiple testing, with one row per null hypothesis and one column per
filtering fraction given in theta
. For a given column, entries
which have been filtered out are NA
.
For filtered_R
, a count of the entries in the filtered_p
result which are less than alpha
.
Richard Bourgon <[email protected]>
See rejection_plot
for visualization of
filtered_p
results.
1  # See the vignette: Diagnostic plots for independent filtering

Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.