window_test: Test simulations in windows

Description Usage Arguments Value

View source: R/window_test.R

Description

Calculate test statistics binning over aupplied regions

Usage

1
2
3
window_test(windows, dat, pos, x, signal, level = c(0.02, 0.05, 0.1, 0.2),
  s0 = c(0, 0, 0), stat.funcs = c(qpois_stats_binary, huber_stats, t_stats),
  stat.names = c("Poisson", "Huber", "T"))

Arguments

windows

q by 2 matrix giving region boundaries

dat

p x n matrix of data

pos

Positions

x

treatment status of each sample (length n)

signal

Matrix of signal regions

level

Vector of FDR thresholds

s0

Variance inflation constant

Value

A list


jean997/cfdrSims documentation built on May 18, 2019, 11:43 p.m.