Description Usage Arguments Value Examples
View source: R/BrickContainer_functions.R
BrickContainer_unlink_resolution
removes links to all files associated
to a given resolution
1 | BrickContainer_unlink_resolution(Brick = NULL, resolution = NULL)
|
Brick |
Required. A string specifying the path to the Brick store created with CreateBrick. |
resolution |
Required
A string specifying the resolution to remove. This string must match the
resolution values listed by |
An object of class BrickContainer where the resolution and links to its associated files have been removed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | Bintable.path <- system.file("extdata",
"Bintable_100kb.bins", package = "HiCBricks")
out_dir <- file.path(tempdir(), "BrickContainer_unlink_res_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)
My_BrickContainer <- Create_many_Bricks(BinTable = Bintable.path,
bin_delim = " ", output_directory = out_dir, file_prefix = "Test",
experiment_name = "Vignette Test", resolution = 40000,
remove_existing = TRUE)
BrickContainer_unlink_resolution(Brick = My_BrickContainer,
resolution = 40000)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.