Description Usage Arguments Value Examples
View source: R/query_builder_wrappers.R
Get or set query regions
1 2 3 | get_regions(qb)
set_regions(qb, regions)
|
qb |
A QueryBuilder object constructed using the
|
regions |
Either a list of 1 more |
get_regions
returns the current regions as a list of strings.
set_regions
returns a new QueryBuilder
object with the
regions set to the value of regions
.
1 2 3 4 5 6 | qb <- QueryBuilder(compilation = "gtex", regions = "CD99")
get_regions(qb)
qb <- set_regions(qb, "chr1:1-1000")
get_regions(qb)
qb <- set_regions(qb, GenomicRanges::GRanges("chr1", "1-1000"))
get_regions(qb)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.