View source: R/Brick_functions.R
Brick_get_bintable | R Documentation |
Brick_get_bintable
makes a call to Brick_get_ranges
to
retrieve the binning table of the associated Brick store. This is equivalent
to passing the argument rangekey = "bintable" in
Brick_get_ranges
Brick_get_bintable(Brick, chr = NA, resolution = NA)
Brick |
Required. A string specifying the path to the Brick store created with Create_many_Brick. |
chr |
Optional. A chr string specifying the chromosome to select from the ranges. |
resolution |
Optional. Default NA When an object of class BrickContainer is provided, resolution defines the resolution on which the function is executed |
Returns a GRanges object containing the binning table associated to the Brick store.
Brick_get_ranges
Bintable.path <- system.file(file.path("extdata", "Bintable_100kb.bins"), package = "HiCBricks") out_dir <- file.path(tempdir(), "list_get_bintable_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_get_bintable(Brick = My_BrickContainer, resolution = 100000)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.