View source: R/insulation_score.R
insulation_score | R Documentation |
Insulation scores are calculated by sliding a square along the diagonal of the Hi-C matrix and averaging the values in that square.
insulation_score(
explist,
window = 30,
norm_to = c("chromosome", "genome", "none"),
norm_fun = log2overmedian
)
explist |
Either a single GENOVA |
window |
An |
norm_to |
A |
norm_fun |
A |
Typically, when the sliding square passes within a TAD, it yields high insulation scores whereas in between TADs it yields low insulation scores. Hence, TAD boundaries can be identified as local minima in the insulation score.
To follow the Crane et al. (2015) strategy for insulation scores,
use 10kb resolution contacts
objects, set the 'window
'
argument to 50, set the 'norm_to
' argument to "chromosome"
and the 'norm_fun
' argument to log2overmean
.
An IS_discovery
object containing the following slot:
A data.table
with genomic locations and
insulation scores for each element in the 'explist
' argument.
10kb-40kb
For calling TADs from insulation scores, see
call_TAD_insulation
. For plotting a heatmap of
insulation over genomic locations, see
tornado_insulation
.
## Not run:
iscore <- insulation_score(list(WT_20kb, KO_20kb), window = 20)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.