engine_resizing: Engine for repeated matrix lookup and resizing

View source: R/methods_matrix_lookup.R

engine_resizingR Documentation

Engine for repeated matrix lookup and resizing

Description

It looks up square parts of unequal size around the diagonal of a single Hi-C experiment and resizes these to a single size.

Usage

engine_resizing(MAT, anchors, rel_pos)

Arguments

anchors

A matrix with two columns containing pre-computed indices between which a square is looked up.

rel_pos

A integer sequence ranging from [0-n] wherein n is the target size to which individual squares are resized.

anchors specify two points on the diagonal between which the region should be looked up.

ICE

The Hi-C matrix slot of a GENOVA experiment object.

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.