Description Usage Arguments Value Examples
View source: R/Brick_functions.R
Brick_list_rangekeys
lists the names of all ranges associated to a Brick.
1 | Brick_list_rangekeys(Brick, resolution = NA, all_resolutions = FALSE)
|
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 |
A one dimensional character vector of length x specifying the names of all ranges currently present in the file.
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.