Description Usage Arguments Value Author(s) Examples
This utility function checks the user-provided region data.frame coverage
list (COVERAGE
) or computes a new one using brainflowprobes_cov.
This is used by four_panels and plot_coverage.
1 2 3 4 5 6 | get_region_cov(
REGION,
COVERAGE = NULL,
VERBOSE = TRUE,
PD = brainflowprobes::pd
)
|
REGION |
Either a single hg19 genomic sequence including the chromosome, start, end, and optionally strand separated by colons (e.g., 'chr20:10199446-10288068:+'), or a string of sequences. Must be character. Chromosome must be proceeded by 'chr'. |
COVERAGE |
The output of brainflowprobes_cov for the input
|
VERBOSE |
A logical value indicating whether to print updates from the process of loading the data from the BigWig files. |
PD |
A list of data.frames with the |
If COVERAGE
is provided and all checks pass, then this function
returns COVERAGE
. Otherwise, it computes a new region coverage data.frame
list using brainflowprobes_cov.
Leonardo Collado-Torres
1 2 3 4 5 | ## If all checks pass, then it returns the COVERAGE
stopifnot(identical(
get_region_cov(COVERAGE = four_panels_example_cov),
four_panels_example_cov
))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.