Learn R Programming

pwrFDR (version 3.2.4)

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)

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, R, the # of statistical tests rejected under the BH-FDR procedure, and T, the # of true positives. Depending on the value of FDP.control.method, additional values are returned:
FDP.control.method:
"BHFDR": nothing further
"BHFDX": In addition to M1, R and T, we compute R.st and T.st, the # of tests rejected under the BHFDX procedure, and among those tests rejected, the # of true positives.
"Romano": In addition to M1, R and T, we compute R.R and T.R, the # of tests rejected under Romano's procedure, and among those tests rejected, the # of true positives.
"both": If 'both' is specified then counts of all rejected tests and of true positive tests under BHFDX and under Romano are returned along with those counts for BHFDr.

X

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

Arguments

obj

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

Author

Grant Izmirlian izmirlig at mail dot nih dot gov