get_coordinate_modifier: Get or set coordinate modifiers for the query.

Description Usage Arguments Value Examples

View source: R/query_builder_wrappers.R

Description

Get or set coordinate modifiers for the query.

Usage

1
2
3
get_coordinate_modifier(qb)

set_coordinate_modifier(qb, coordinate_modifier)

Arguments

qb

a QueryBuilder object constructed using the QueryBuilder function.

coordinate_modifier

any of the variants of the Coordinates enum.

Value

get_coordinate_modifier returns the current coodinate modifier as a string. set_coordinate_modifier returns a new QueryBuilder object with the coordinate modifier set to the value of coordinate_modifier.

Examples

1
2
3
qb <- QueryBuilder(compilation = "gtex", regions = "CD99")
qb <- set_coordinate_modifier(qb, Coordinates$Within)
get_coordinate_modifier(qb)

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