Description Usage Arguments Value See Also Examples
Intersection is defined for the same chromosomes, for example for 2 TAD sets from chromosome 18 if there is TAD in set1 with coordinates 100, 120 (start, end respectively) and in set2 there is a TAD with coordinates 110, 140 then their intersection is interval with coordinates: 110, 120.
1 | intersect_tads(tads1, tads2)
|
tads1 |
data frame of TAD set 1 with columns: start, end |
tads2 |
data frame of TAD set 2 with columns: start, end |
data frame with start, end columns containing TAD intersection intervals
Intervals
, interval_intersection
for functions used to find intersection between 2 sets of intervals
1 2 3 4 5 | # simple artificial data set of TADs
tads1 <- data.frame(start = c(1,10,30), end = c(5,15,35))
tads2 <- data.frame(start = c(3,14,28), end = c(12,18,40))
tads.intersection <- intersect_tads(tads1, tads2)
print(tads.intersection)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.