select.thres: Selecting Threshold for cFDR Controlling Procedures

Description Usage Arguments Value Author(s)

View source: R/cFDR_adjP.R

Description

Given the structural p-values, choose a selecting method for controlling generalized familywise error rate or false discovery rate across families, and a combining mehtod, returns a vector of thresholds for the first stage of cFDR controlling procedures.

Usage

1
select.thres(pval, select.method, comb.method, alpha, k)

Arguments

pval

the structural p-values, the type should be "list".

select.method

global p-value selecting methods. For generalized FWER controlling, k-Bonferroni or k-Sidak procedures can be used; for FDR controlling, BH procedure can be used.

comb.method

p-value combining methods including "Fisher", "Stouffer", and "minP" combining methods.

alpha

significant level for selecting significant families in the first stage. The default value is 0.05.

k

number of allowed type 1 errors in k-FWER controls.

Value

A list of the adjusted conditional p-values, a list of NULL means the family is not selected to do the test in the second stage.

Author(s)

Yalin Zhu


allenzhuaz/MHTmult documentation built on June 1, 2017, 5:22 p.m.