get_row_filters: Get or set range-related contraints for query

Description Usage Arguments Value Examples

View source: R/query_builder_wrappers.R

Description

Get or set range-related contraints for query

Usage

1
2
3

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

1
2
3
4
5
6
7
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)

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