Description Usage Arguments Details Value Examples
slidingWindowTest
takes a loops
object and
integer values of the association window and the distance between
consecutive windows.
1 2 3 4 | slidingWindowTest(x, window, step)
## S4 method for signature 'loops,numeric,numeric'
slidingWindowTest(x, window, step)
|
x |
A loops object with PValue column (from association testing) |
window |
The length a window will be for combined association |
step |
The size that the window will shift for each association |
This function returns a data.frame sorted by FDR of each region. The engine
loops over each chromosome and defines the first window at the left-most
loop and slides the window right until no more loops are present in x
Each region is determined from a sliding window of fixed length.
The combined significance measure per feature is computed via the Simes
method for intrachromosomal loops where at least one anchor from the loop
overlaps with the region. Requires PValue column in the rowData slot.
A data.frame sorted by FDR
1 2 3 4 5 | # Sliding window test 100kb at a time between naive and jurkat
rda<-paste(system.file('rda',package='diffloop'),'loops.small.rda',sep='/')
load(rda)
# assoc_jn <- loopAssoc(loops.small, coef = 2)
# sw_jn <- slidingWindowTest(assoc_jn, 100000, 100000)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.