get_coordinate_modifier: Get or set coordinate modifiers for the query.

View source: R/query_builder_wrappers.R

get_coordinate_modifierR Documentation

Get or set coordinate modifiers for the query.

Description

Get or set coordinate modifiers for the query.

Usage

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

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

langmead-lab/snapr documentation built on May 4, 2022, 7:41 p.m.