regions(object, limit=NULL, minLength=2, maxGap=Inf, verbose = FALSE,
...)
"regions"(object, limit=NULL, minLength=2, maxGap=Inf,
verbose = FALSE, ...)
(1) For all probes in the region $Lambda>=Theta$ has to hold. (2) Each region has to contain at least as many probes as specified in 'minLength'. (3) The gap between to neighboring probes has to be smaller or equal to 'maxGap'.
Along with the boundaries of the regions the number of regulated probes within each region is estimated. This is used to sort the regions in order to get a list of top regions. The resulting data frame containing the regions can be accessed with the '[' method.
les-package
Class:
Les
Methods and functions:
Les
estimate
threshold
regions
ci
chi2
export
plot
data(spikeInStat)
x <- Les(pos, pval)
x <- estimate(x, win=200)
x <- threshold(x, grenander=TRUE, verbose=TRUE)
x <- regions(x, verbose=TRUE)
print(x["regions"])
Run the code above in your browser using DataLab