Description Usage Arguments Value Examples
View source: R/query_builder_wrappers.R
Construct a QueryBuilder object given a compilation and one or regions.
1 | QueryBuilder(compilation, regions)
|
compilation |
A single string containing the name of the
Snaptron data source. Any variant of the |
regions |
Either a list of 1 more |
A QueryBuilder object.
1 2 3 4 5 6 7 8 9 | # contruct a query builder for GTEX data source and BRAC1 gene
qb <- QueryBuilder(compilation = Compilation$gtex, regions = "BRCA1")
# contruct a query builder for TCGA data source and chromosome region
qb <- QueryBuilder(compilation = "tcga", regions = "chr1:1-1000")
# construct a query builder for TCGA data source using GRanges object
library(GenomicRanges)
qb <- QueryBuilder(compilation = "tcga", regions = GRanges("chr1", "1-1000"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.