Description Usage Arguments Details Value Examples
extract significant windows from output of
resultsDEWSeq
using the supplied padj and
log2FoldChange cut-offs and merge these significant windows
to regions and create the following columns for each
significant region:
padj_min
: min. padj value in the region
padj_mean
: average padj value in the region
padj_max
: max. padj value in the region
log2FoldChange_min
: min. log 2 fold change in the region
log2FoldChange_mean
: average log 2 fold change in the region
log2FoldChange_max
: max. log 2 fold change in the region
1 2 3 | extractRegions(windowRes, padjCol = "padj", padjThresh = 0.05,
log2FoldChangeCol = "log2FoldChange", log2FoldChangeThresh = 1,
start0based = TRUE)
|
windowRes |
|
padjCol |
|
padjThresh |
|
log2FoldChangeCol |
|
log2FoldChangeThresh |
|
start0based |
|
The output data.frame from this function will have the following columns:
chromosome
: chromosome name
regionStartId
: unique_id
of the left most window,
where an enriched region begins
region_begin
: starting position of the enriched region
region_end
: ending position of the enriched region
strand
: strand info
windows_in_region
: total number of windows
that make up the enriched region
region_length
: length of the enrched region
gene_id
: gene id
gene_name
: gene name
gene_type
: gene type annotation
gene_region
: gene region
Nr_of_region
: number of the current region
Total_nr_of_region
: total number of regions
window_number
: window number
padj_min
: min. padj value in the region
padj_mean
: average padj value in the region
padj_max
: max. padj value in the region
log2FoldChange_min
: min. log 2 fold change in the region
log2FoldChange_max
: max. log 2 fold change in the region
log2FoldChange_mean
: average log 2 fold change in the region
data.frame
1 2 3 4 5 | data("slbpWindows")
# using default cut-off thresholds,
# 'pSlidingWindows.adj' padj value columns
slbpRegions <- extractRegions(slbpWindows,
padjCol = 'pSlidingWindows.adj')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.