Brick_get_matrix_mcols {HiCBricks} | R Documentation |
Brick_get_matrix_mcols
will get the specified matrix metadata column.
Brick_get_matrix_mcols(Brick, chr1, chr2, what)
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 |
what |
Required A character vector of length 1 specifying the matrix metric to retrieve |
Returns a 1xN dimensional vector containing the specified matrix metric
Brick.file <- system.file("extdata", "test.hdf", package = "HiCBricks") Brick_get_matrix_mcols(Brick = Brick.file, chr1 = "chr19", chr2 = "chr19", what = "bin.coverage")