determine_anchor_overlap | R Documentation |
Identifies all overlapping anchor pairs (m:n mapping).
determine_anchor_overlap(rep1_anchor, rep2_anchor, max_gap = -1L)
rep1_anchor |
data frame with the following columns:
| |||||||||
rep2_anchor |
data frame with the following columns:
| |||||||||
max_gap |
integer; maximum gap in nucleotides allowed between two anchors for them to be considered as overlapping (defaults to -1, i.e., overlapping anchors) |
A data frame containing overlapping anchor pairs with the following columns:
column 1: | rep1_idx | anchor index in data frame
rep1_anchor |
column 2: | rep2_idx | anchor index in data frame
rep2_anchor
|
rep1_df <- idr2d:::chiapet$rep1_df
rep2_df <- idr2d:::chiapet$rep2_df
rep1_anchor_a <- data.frame(chr = rep1_df[, 1],
start = rep1_df[, 2],
end = rep1_df[, 3])
rep2_anchor_a <- data.frame(chr = rep2_df[, 1],
start = rep2_df[, 2],
end = rep2_df[, 3])
anchor_a_overlap <- determine_anchor_overlap(rep1_anchor_a, rep2_anchor_a)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.