get_compilation: Get or set query compilation

Description Usage Arguments Value Examples

View source: R/query_builder_wrappers.R

Description

Get or set query compilation

Usage

1
2
3
get_compilation(qb)

set_compilation(qb, compilation)

Arguments

qb

A QueryBuilder object constructed using the QueryBuilder function.

compilation

A single string containing the name of the Snaptron data source. Any variant of the Compilation enum can also be passed as an argument.

Value

get_compilation returns the current compilation as string. set_compilation returns a new QueryBuilder object with the compilation set to the value of compilation.

Examples

1
2
3
4
qb <- QueryBuilder(compilation = "gtex", regions = "CD99")
get_compilation(qb)
qb <- set_compilation(qb, Compilation$tcga)
get_compilation(qb)

snapcount documentation built on Nov. 8, 2020, 4:53 p.m.