Brick_path_to_file {HiCBricks} | R Documentation

## Check if a Brick is being tracked.

### Description

`Brick_path_to_file` will query the tracking cache and return the complete path to the file that is being tracked.

### Usage

    Brick_path_to_file(Brick = NULL)

### Arguments

`Brick` | required Path to the Brick file to locate.

### Value

Returns the corresponding path to the file that is being tracked.

### Examples

    Bintable.path <- system.file("extdata",
    "Bintable_40kb.txt", package = "HiCBricks")
    Chromosomes <- "chr19"
    Path_to_cached_file <- CreateBrick(ChromNames = Chromosomes,
    BinTable = Bintable.path, bin.delim = " ",
    Output.Filename = "test.hdf", exec = "cat",
    remove.existing = TRUE)

    Brick.file <- "test.hdf"
    Brick_path_to_file(Brick = Brick.file)

[Package HiCBricks version 1.0.0 Index]