get_column_filters: Get or set sample-related contraints for query

Description Usage Arguments Value Examples

View source: R/query_builder_wrappers.R

Description

Get or set sample-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_column_filters returns the current filters as a list of strings. set_column_filters returns a new QueryBuilder object with the column filters set to the value of column_filters.

Examples

1
2
3
4
5
6
7
qb <- QueryBuilder(compilation = "gtex", regions = "CD99")
# column filters set using a string
qb <- set_column_filters(qb, "SMTS == Brain")
get_column_filters(qb)
# column filters set using unevaluated expression
qb <- set_column_filters(qb, SMTS == "Spleen")
get_column_filters(qb)

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