View source: R/query_builder_wrappers.R
QueryBuilder | R Documentation |
Construct a QueryBuilder object given a compilation and one or regions.
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.
# 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.