Learn R Programming

pwrFDR (version 1.95)

detail: The detail extraction function for simulated power objects

Description

Objects created by the pwrFDR function with option method=="simulation" are returned with an attribute named detail. This is its extractor function

Usage

detail(obj)

Arguments

obj

An object created by the pwrFDR function with option method=="simulation".

Value

A list with components

reps

A data frame of n.sim rows containing the results of the simulations as columns: M1, the \# of non-null distributed statistics, J, the \# of statistical tests rejected under the BH-FDR procedure, and S, the \# of true positives.

CCDF

A data frame of dimension n.T, the number of test statistics with non-zero mean, by 2. The first column is s, taking values 1 to n.T, and the second column is the monte carlo estimated complementary CDF for the distribution of the number of true positives, S

X

A single simulation replicate of the m raw test statistics, included as a sanity check