anchors_finish: Finish anchors for repeated matrix lookup

View source: R/methods_anchors.R

anchors_finishR Documentation

Finish anchors for repeated matrix lookup

Description

Finish anchors for repeated matrix lookup

Usage

anchors_finish(IDX, anchors, rel_pos, shift = 0)

Arguments

IDX

The indices slot of a GENOVA contacts object.

anchors

A matrix with two columns containing pre-computed anchor indices. See the anchors documentation.

rel_pos

An integer vector indicating relative positions in bins, indicating ranges around anchors to lookup.

shift

An integer of length 1 indicating how many bins the anchors should be shifted.

Value

A anchors object of the same type.

Examples

## Not run: 
anch <- anchors_APA(WT_20kb$ABS, WT_20kb$RES, loops)
anchors_finish(WT_20kb$ABS, anch, -10:10, 0)

## End(Not run)

robinweide/GENOVA documentation built on March 14, 2024, 11:16 p.m.