View source: R/Brick_functions.R
| Brick_mcool_normalisation_exists | R Documentation |
Brick_mcool_normalisation_exists checks if a particular normalisation
exists in an mcool file.
Brick_mcool_normalisation_exists(mcool, norm_factor = NULL, resolution = NULL)
mcool |
Required. Path to an mcool file. |
norm_factor |
Required. The normalization factor to use for normalization from an mcool file. norm_factor currently accepts one of "Iterative-Correction", "Knight-Ruitz", "Vanilla-coverage", "Vanilla-coverage-square-root". |
resolution |
Optional. Default NA When an object of class BrickContainer is provided, resolution defines the resolution on which the function is executed |
A boolean vector of length 1
## 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_mcool_normalisation_exists(mcool = mcool,
norm_factor = "Iterative-Correction",
resolution = 50000)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.