This function uses the F distribution to calculate a cutoff of
theta for a p-value given by the pval
argument.
qtheta(propd, pval = 0.05, fdr = FALSE)
A propr
or propd
object.
A p-value at which to calculate a theta cutoff.
A boolean. Toggles whether to calculate the theta cutoff for an FDR-adjusted p-value.
A cutoff of theta from [0, 1].
If the argument fdr = TRUE
, this function returns the
empiric cutoff that corresponds to the FDR-adjusted p-value
stored in the @results$FDR
slot.