Description Usage Arguments Details Value Author(s) See Also Examples
Set x and y interval of the HTCexp object and update the contact map accordingly
1 2 | setIntervalScale(x, xgi, ygi, upa=TRUE, method=c("sum","median","mean"),
use.zero=TRUE, optimize.by = c("speed", "memory"))
|
x |
object that inherits from class |
ygi |
y intervals;
see class |
xgi |
x intervals;
see class |
upa |
logical; unique primer assignment. Allow one primer to belong to one or several bins |
method |
the method used to combine the counts. Must be ‘mean’, ‘median’ or ‘sum’ |
use.zero |
logical; use the zero values in the |
optimize.by |
"speed" will use faster methods but more RAM, and "memory" will be slower, but require less RAM |
Define new contact map based on the specified xgi and ygi intervals.
This function has to be used carefully and can has important impact on
the contact map.
It is important to note that the setIntervalScale
function is different from the binningC
function in the way that the output
is not symetrical.
A HTCexp
object
N. Servant
1 2 3 4 5 6 7 8 9 10 11 12 13 | data(Nora_5C)
E14.bin<-binningC(E14$chrXchrX)
## I have two HTCexp samples defined with different intervals.
show(E14.bin)
show(MEF$chrXchrX)
## How to compare them ?
## One idea is to force the intervals definition of one object using the
## intervals of the other.
setIntervalScale(MEF$chrXchrX, xgi=x_intervals(E14.bin), ygi=y_intervals(E14.bin))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.