qvalue.restricted: qvalue convenience wrapper

Description Usage Arguments Value Author(s) See Also

View source: R/Functions.R

Description

This function calls qvalue on finite input p-values, optionally traps errors from the q-value calculation, and returns just the q values.

Usage

1
qvalue.restricted(p, trapErrors = TRUE, ...)

Arguments

p

a vector of p-values. Missing data are allowed and will be removed.

trapErrors

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.

Value

A vector of q-values. Entries whose corresponding p-values were not finite will be NA.

Author(s)

Peter Langfelder

See Also

qvalue


WGCNA documentation built on March 1, 2021, 1:05 a.m.