chi2(object, winSize, regions, offset, fdr = "lfdr", method,
scaling = les:::scaleNorm, nCores = NULL, verbose = FALSE, ...)
"chi2"(object, winSize, regions, offset, fdr = "lfdr",
method, scaling = les:::scaleNorm, nCores = NULL, verbose = FALSE, ...)
les-package
fdrtool
Class:
Les
Methods and functions:
Les
estimate
threshold
regions
ci
chi2
export
plot
weighting
data(spikeInStat)
x <- Les(pos, pval)
x <- estimate(x, 200, weighting=rectangWeight)
x <- threshold(x)
x <- regions(x)
regions <- x["regions"]
winsize <- seq(100, 300, by=20)
x <- chi2(x, winsize, regions, offset=2500)
plot(winsize, x["chi2"], type="b")
Run the code above in your browser using DataLab