toBED {DEWSeq} | R Documentation |
given output of extractRegions
, resultsDEWSeq
and significance thresholds,
extract significant windows, create regions by merging adjacent significant windows.
Finally, write the output as a BED file for visualization.
toBED(windowRes, regionRes, fileName, padjCol = "padj", padjThresh = 0.05, log2FoldChangeCol = "log2FoldChange", log2FoldChangeThresh = 1, trackName = "sliding windows", description = "sliding windows")
windowRes |
|
regionRes |
|
fileName |
|
padjCol |
|
padjThresh |
|
log2FoldChangeCol |
|
log2FoldChangeThresh |
|
trackName |
|
description |
|
write to file
data(slbpRegions) data(slbpWindows) outFile <- tempfile('SLBP_visualization.bed') # the results are written to a temp file in this example toBED(slbpWindows,slbpRegions,outFile,padjCol='pSlidingWindows.adj')