Brick_list_rangekeys: List the ranges tables stored within the Brick.

Description Usage Arguments Value Examples

View source: R/Brick_functions.R

Description

Brick_list_rangekeys lists the names of all ranges associated to a Brick.

Usage

1
Brick_list_rangekeys(Brick, resolution = NA, all_resolutions = FALSE)

Arguments

Brick

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

resolution

Optional. Default NA When an object of class BrickContainer is provided, resolution defines the resolution on which the function is executed

all_resolutions

Optional. Default FALSE If resolution is not defined and all_resolutions is TRUE, the resolution parameter will be ignored and the function is executed on all files listed in the Brick container

Value

A one dimensional character vector of length x specifying the names of all ranges currently present in the file.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
Bintable.path <- system.file(file.path("extdata", "Bintable_100kb.bins"), 
package = "HiCBricks")

out_dir <- file.path(tempdir(), "list_rangekeys_test")

dir.create(out_dir)

My_BrickContainer <- Create_many_Bricks(BinTable = Bintable.path, 
    bin_delim = " ", output_directory = out_dir, file_prefix = "Test",
    experiment_name = "Vignette Test", resolution = 100000,
    remove_existing = TRUE)

Brick_list_rangekeys(Brick = My_BrickContainer, resolution = 100000)

HiCBricks documentation built on Nov. 8, 2020, 7:45 p.m.