load_BrickContainer: Create a BrickContainer object from a JSON file

Description Usage Arguments Value Examples

View source: R/BrickContainer_functions.R

Description

load_BrickContainer creates a BrickContainer object from a JSON file

Usage

1
load_BrickContainer(config_file = NULL, project_dir = NULL)

Arguments

config_file

Default NULL A character string of length 1 specifying the path to the path to the configuration json created using Create_many_bricks

project_dir

Default NULL A character string of length 1 specifying the path to the path to the configuration json created using Create_many_bricks

Value

An object of class BrickContainer

Examples

1
2
3
4
5
6
7
8
9
Bintable.path <- system.file("extdata",
"Bintable_100kb.bins", package = "HiCBricks")
out_dir <- file.path(tempdir(), "BrickContainer_load_test")
dir.create(out_dir)
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 <- load_BrickContainer(project_dir = out_dir)

HiCBricks documentation built on Nov. 8, 2020, 7:45 p.m.