Brick_matrix_dimensions {HiCBricks} | R Documentation |
Return the dimensions of a matrix
Brick_matrix_dimensions(Brick, chr1, chr2)
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 |
Returns the dimensions of a Hi-C matrix for any given chromosome pair.
Brick.file <- system.file("extdata", "test.hdf", package = "HiCBricks") Brick_matrix_dimensions(Brick = Brick.file, chr1 = "chr19", chr2 = "chr19")