View source: R/call_TAD_insulation.R
call_TAD_insulation | R Documentation |
Runs peak detection on the genome wide insulation scores to identify insulation valleys that correspond well to TAD boundaries.
call_TAD_insulation(IS_discovery, method = "crane", min_strength = 0.1)
IS_discovery |
A GENOVA |
method |
A |
min_strength |
A |
The Crane et al. (2015) method calculates a delta vector across the insulation score defined by the difference between 100kb to the right and left of a central bin. This delta crosses zero at local extrema, of which the minima are kept. Subsequently, potential boundaries are filtered on the boundary strength defined as the difference in the delta vector between the nearest 5' local maximum and 3' local minimum relative to the boundaray.
A list
containing BED-formatted data.frame
s for each
experiment in the IS_discovery
object.
insulation_score
for calculating insulation
scores.
## Not run:
# Calculating insulation scores
ins <- insulation_score(list(WT_20kb, KO_20kb), window = 25)
# Calling TADs from the insulation score
tadlist <- call_TAD_insulation(ins)
# Plotting TADs
hic.matrixplot(
exp1 = WT_20kb,
chrom = "chr7",
start = 25e6,
end = 30e6,
tads = tadlist$WT_20kb
)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.