Brick_matrix_minmax {HiCBricks}R Documentation

Return the value range of the matrix

Description

Return the value range of the matrix

Usage

Brick_matrix_minmax(Brick, chr1, chr2)

Arguments

Brick

Required. A string specifying the path to the Brick store created with CreateBrick.

chr1

Required. A character vector of length 1 specifying the chromosome corresponding to the rows of the matrix

chr2

Required. A character vector of length 1 specifying the chromosome corresponding to the columns of the matrix

Value

Returns a numeric vector of length 2, specifying the minimum and maximum finite real values in the matrix.

Examples

Brick.file <- system.file("extdata", "test.hdf", package = "HiCBricks")
Brick_matrix_minmax(Brick = Brick.file, chr1 = "chr19", chr2 = "chr19")


[Package HiCBricks version 1.2.0 Index]