get_coordinate_modifier {snapcount}R 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)

[Package snapcount version 1.2.0 Index]