Brick_list_mcool_resolutions: Get all available normalisations in an mcool file.

View source: R/Brick_functions.R

Brick_list_mcool_resolutionsR Documentation

Get all available normalisations in an mcool file.

Description

Brick_list_mcool_resolutions lists all available resolutions in the mcool file.

Usage

Brick_list_mcool_resolutions(mcool)

Arguments

mcool

Required. A parameter specifying the name of an mcool file

Value

A named vector listing all possible resolutions in the file.

Examples


## Not run: 
require(curl)
out_dir <- file.path(tempdir(),"mcool_test_dir")
dir.create(path = out_dir)

curl_download(url = paste("https://data.4dnucleome.org/",
"files-processed/4DNFI7JNCNFB/",
"@download/4DNFI7JNCNFB.mcool", sep = ""),
destfile = file.path(out_dir,"H1-hESC-HiC-4DNFI7JNCNFB.mcool"))

mcool <- file.path(out_dir,"H1-hESC-HiC-4DNFI7JNCNFB.mcool")

Brick_list_mcool_resolutions(mcool)


## End(Not run)

koustav-pal/HiCBlocks documentation built on Oct. 29, 2022, 8:17 a.m.