get_row_filters: Get or set range-related contraints for query

View source: R/query_builder_wrappers.R

get_row_filtersR Documentation

Get or set range-related contraints for query

Description

Get or set range-related contraints for query

Usage

get_row_filters(qb)

set_row_filters(qb, ...)

Arguments

qb

a QueryBuilder object constructed using the QueryBuilder function.

...

one or more boolean predicates as either strings or unevaluated expressions.

Value

get_row_filters returns the current row filters as list of strings. set_row_filters returns a new QueryBuilder object with the row filters set to the value of row_filters.

Examples

qb <- QueryBuilder(compilation = "gtex", regions = "CD99")
# row filters set as a string
qb <- set_row_filters(qb, "strand == +")
get_row_filters(qb)
# row filters set using unevaluated expression
qb <- set_row_filters(qb, strand == "+")
get_row_filters(qb)

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