calc.threshold: Calculate p-value threshold for identifying risk SNPs

Description Usage Arguments

Description

We select at least 100 SNPs with FDR < 0.05 or 1000 SNPs with FDR < 0.1. If this can't be done then we use 100 SNPs but warn the estimate is ureliable.

Usage

1
calc.threshold(p, verbose = FALSE, method = "BH")

Arguments

p

numeric vector of p-values (possibly with NAs). Any other R is coerced by as.numeric.

verbose

print out intermediate statistics calculated during the analysis

method

correction method


aaronwolen/bingd documentation built on May 10, 2019, 4:04 a.m.