simes_pval {DAMEfinder}R Documentation

Calculate region-level p-value

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

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


[Package DAMEfinder version 1.4.0 Index]