View source: R/basic_query_functions.R
query_jx | R Documentation |
Given one or more gene names or genomic range intervals it will return a list of 0 or more genes, junctions, or exons (depending on which query form is used) which overlap the ranges.
query_jx(sb, return_rse = TRUE, split_by_region = FALSE) query_gene(sb, return_rse = TRUE, split_by_region = FALSE) query_exon(sb, return_rse = TRUE, split_by_region = FALSE)
sb |
A SnaptronQueryBuilder object |
return_rse |
Should the query data be returned as a simple data frame or converted to a RangedSummarizedExperiment. |
split_by_region |
By default the results from multiple queries will be
returned in a |
Functions will return either a RangedSummarizedExperiment or
data.table depending on whether the return_rse
parameter is set to
TRUE
or FALSE
.
# Contruct a QueryBuilder object qb <- QueryBuilder(compilation = "gtex", regions = "chr1:1-100000") qb <- set_row_filters(qb, samples_count >= 20) query_jx(qb) qb <- set_row_filters(qb, NULL) qb <- set_column_filters(qb, SMTS == "Brain") query_gene(qb)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.