engine_default: Engine for repeated matrix lookups

View source: R/methods_matrix_lookup.R

engine_defaultR Documentation

Engine for repeated matrix lookups

Description

It looks up square parts of equal size in the Hi-C matrix of a single experiment.

Usage

engine_default(MAT, anchors, rel_pos)

Arguments

MAT

The Hi-C matrix slot of a GENOVA experiment 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.

Value

A threedimensional array wherein the first dimension is parallel to the rows in anchors, and the second and third dimensions are of length m.

See Also

rep_mat_lookup


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