View source: R/methods_anchors.R
anchors_shift | R Documentation |
Shifts anchors upstream by a specified amount, unless they become out of bounds. In that case, shift the anchors downstream.
anchors_shift(IDX, anchors, rel_pos, shift = 1)
IDX |
The indices slot of a GENOVA |
anchors |
A |
rel_pos |
An |
shift |
An |
The resulting matrix contains indices to the Hi-C matrix slot in the GENOVA experiment.
An index is considered out of bounds when that index plus the shift size and maximum relative position would belong to a different chromosome.
A anchors
object with two columns in matrix
format.
PESCAn
for context and
anchors
. anchors_filter_oob
for
general out of bounds filtering of anchors.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.