View source: R/intra_inter_TAD.R
| intra_inter_TAD | R Documentation |
Calculate the coverage over TADs and between a TAD and its neighbours.
intra_inter_TAD(explist, tad_bed, max_neighbour = 5)
explist |
Either a single GENOVA |
tad_bed |
A BED-formatted |
max_neighbour |
An |
The TADs are expected to be consecutive: the 3' border of a TAD is the same position as the 5' border of the subsequent TAD.
Although the explist argument is allowed to be a different
resolution than whence the TAD calls came, it is discouraged to use higher
basepair resolution for the explist argument compared to the TAD
calls for accuracy reasons.
An IIT_discovery object containing the following slots:
A data.table with two columns of left and
right TAD identifiers and scores for the experiments in explist.
The tad_bed argument supplemented with TAD identifiers
used in the results slot.
The same resolution as whence the TADs were called.
For calling TADs with insulation scores, see
insulation_score() and
call_TAD_insulation. For calling TADs with HiCseg,
see HiCseg.callTAD.
## Not run:
# Getting TAD calls
insula <- insulation_score(WT_20kb)
tads <- call_TAD_insulation(insula)[[1]]
# Calculating the inter-intra TAD contacts
iit <- intra_inter_TAD(list(WT_20kb, KO_20kb), tads)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.