Skip to contents

Applies an FDR threshold on a table of adjusted p-values and summarizes the results

Usage

compute.selection.table(x, fdr.threshold)

Arguments

x

a table of adjusted p-values

fdr.threshold

an FDR threshold

Value

a summary of the number of significantly differentially abundant proteins, overall and per contrast

Author

Thomas Burger

Examples

data(Exp1_R25_prot, package='DaparToolshedData')
exdata <- Exp1_R25_prot[1:5,]
adjpvaltab <- globalAdjPval(testAnovaModels(applyAnovasOnProteins(exdata, 1), "TukeyHSD")$P_Value)

#> Procedure of Benjamini-Hochberg is used. pi0 is fixed to 1.
seltab <- compute.selection.table(adjpvaltab, 0.2)
seltab
#>   V1_pval Total Ctr   DA prot 
#>         2         2         2