Description Usage Arguments Value Examples
View source: R/BrickContainer_functions.R
BrickContainer_list_chromosomes
returns the chromosomes available in
the BrickContainer
1 | BrickContainer_list_chromosomes(Brick = NULL, lengths = FALSE)
|
Brick |
Required. A string specifying the path to the Brick store created with Create_many_Bricks. |
lengths |
Default FALSE If TRUE, will also return the chromosomal lengths |
If lengths is FALSE, only the chromosome names are returned. If lengths is TRUE, a data.frame containing the chromosome names and their lengths is provided.
1 2 3 4 5 6 7 8 9 10 11 12 | Bintable.path <- system.file("extdata",
"Bintable_100kb.bins", package = "HiCBricks")
out_dir <- file.path(tempdir(), "BrickContainer_list_chromosome_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)
BrickContainer_list_chromosomes(My_BrickContainer)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.