simes_pval: Calculate region-level p-value

Description Usage Arguments Details Value

View source: R/simes_pval.R

Description

This function uses the Simes method to calculate a regional-level p-value based on the single-eBayes p-values. It highly depends on the choice of maxGap in find_dames.

Usage

1
simes_pval(sat, smtstat, midpt)

Arguments

sat

Output from get_tstats.

smtstat

(Smoothed) tstat vector from get_tstats.

midpt

Coordinate vector for each CpG site/tuple.

Details

When used as a FDR-control method, for positively correlated P-values, Simes method is even closer to the nominal alpha level than the Bonferroni-Holm method.

Value

Vector of summarized pvals


DAMEfinder documentation built on Nov. 8, 2020, 11:10 p.m.