BrickContainer_change_output_directory: Change the location of HDF files in the BrickContainer object

Description Usage Arguments Value Examples

View source: R/BrickContainer_functions.R

Description

BrickContainer_change_output_directory changes the location of associated HDF files

Usage

1
BrickContainer_change_output_directory(Brick = NULL, output_directory = NULL)

Arguments

Brick

Required. A string specifying the path to the Brick store created with CreateBrick.

output_directory

Required. Default NULL A string specifying new location of the output_directory. Please note, that the location of the HDF files will not be changed.

Value

An object of class BrickContainer where the output_directory has been changed

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
Bintable.path <- system.file("extdata",
"Bintable_100kb.bins", package = "HiCBricks")

out_dir <- file.path(tempdir(), "BrickContainer_out_dir_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_change_output_directory(Brick = My_BrickContainer, 
output_directory = tempdir())

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