Description Usage Arguments Details Value Author(s) Examples
Merge neighbouring cr regions
1 | reduce_cr(cr, expr, txdb, max_gap = 1000, gap = 1.0, mc.cores = 1)
|
cr |
filtered correlated regions from |
expr |
the expression matrix which is same as in |
txdb |
a |
max_gap |
maximum gap for merging. |
gap |
gap for merging, a numeric value represents the ratio of width of itself and use |
mc.cores |
number of cores |
Since cr with positive correlation and negative correlation has different distribution patterns in the genome, i.e. generally, pos_cr are long and CpG density in it is low while neg_cr is short, clustered and has high CpG density, thus, pos cr and neg cr are reduced separatedly.
Even only look at e.g. pos cr, the pattern for the distribution in the genome is still different,
thus, we recommend to merge crs by width itself while not by an absolute value for which you can set
gap
by a numeric value.
Since original regions are merged and columns related to calculation of correlation will be dropped.
The merging is applied by gene, so it is still possible that regions associated with gene A overlap to gene B.
A GRanges
object
Zuguang Gu <z.gu@dkfz.de>
1 2 | # There is no example
NULL
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.