Brick_get_chrominfo {HiCBricks}R Documentation

Get the chrominfo for the Hi-C experiment.

Description

Brick_get_chrominfo fetches the associated chrominfo table for the Brick it is associated to.

Usage

Brick_get_chrominfo(Brick)

Arguments

Brick

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

Value

A three column data.frame containing chromosomes, nrows and length.

chromosomes corresponds to all chromosomes in the provided bintable.

nrows corresponds to the number of entries in the bintable or dimension for that chromosome in a Hi-C matrix.

Length is the total bp length of the same chromosome (max value for that chromosome in the bintable).

Examples

Brick.file = system.file("extdata", "test.hdf", package = "HiCBricks")
Brick_get_chrominfo(Brick = Brick.file)

[Package HiCBricks version 1.2.0 Index]