View source: R/BrickContainer_functions.R
| BrickContainer_unlink_resolution | R Documentation |
BrickContainer_unlink_resolution removes links to all files associated
to a given resolution
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
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.