This function calls qvalue
on finite input p-values, optionally traps errors from the q-value
calculation, and returns just the q values.
qvalue.restricted(p, trapErrors = TRUE, ...)
a vector of p-values. Missing data are allowed and will be removed.
logical: should errors generated by function qvalue
trapped? If TRUE
, the errors will be
silently ignored and the returned q-values will all be NA
.
other arguments to function qvalue
.
A vector of q-values. Entries whose corresponding p-values were not finite will be NA
.