View source: R/Brick_functions.R
Brick_list_ranges_mcols | R Documentation |
Brick_list_ranges_mcols
will list the metadata columns of the specified
ranges if it is present in the Brick store.
Brick_list_ranges_mcols(Brick, rangekey = NULL, resolution = NA)
Brick |
Required. A string specifying the path to the Brick store created with Create_many_Brick. |
rangekey |
Optional. A string specifying the name of the ranges. If not present, the metadata columns of all ranges will be listed. |
resolution |
Optional. Default NA When an object of class BrickContainer is provided, resolution defines the resolution on which the function is executed |
if no metadata columns are present, NA. If metadata columns are present, a data.frame object containing the name of the ranges and the associated metadata column name.
Bintable.path <- system.file(file.path("extdata", "Bintable_100kb.bins"), package = "HiCBricks") out_dir <- file.path(tempdir(), "list_ranges_mcols_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_ranges_mcols(Brick = My_BrickContainer, rangekey = "Bintable", resolution = 100000)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.