direct_index | R Documentation |
The directionality index quantifies the degree of bias between upstream and downstream interactions given a bin on the diagonal. Such biases become apparent near the periphery of TADs: the upstream portion of a TAD interacts more with the downstream bins and inversely, the downstream portion of a TAD interacts more with the upstream bins.
direct_index(explist, range = 100)
explist |
Either a single GENOVA |
range |
An |
The directionality index is computed as described in Dixon et al. (2012):
DI = (\frac{B - A}{|B - A|})
Wherein A
and B
are the sum of the contacts up- and downstream
of a bin on the diagonal respectively, and E = (A + B)/2
.
The first part signs the second part of the equation by the direction of
the effect. The \chi^2
test statistics can be recognised in the
second part of the equation with a null-hypothesis that the upstream and
downstream signal is equal.
The authors originally used a 40kb matrix with a 2Mb range, equivalent to
range = 50
.
A DI_discovery
object containing a directionality index for
every informative bin.
## Not run:
# As original authors
di <- direct_index(list(WT_40kb, KO_40kb), range = 50)
# Plotting the DI
visualise(di)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.