get_sids: Get or set query sample ids

Description Usage Arguments Value Examples

View source: R/query_builder_wrappers.R

Description

Get or set query sample ids

Usage

1
2
3
get_sids(qb)

set_sids(qb, sids)

Arguments

qb

a QueryBuilder object constructed using the QueryBuilder function.

sids

a vector or 1 or more whole numbers to filter results on.

Value

get_sids returns the current sample ids as a vector of integers. set_sids returns a new QueryBuilder object with the sample ids set to the value of sids.

Examples

1
2
3
qb <- QueryBuilder(compilation = "gtex", regions = "CD99")
qb <- set_sids(qb, c(1, 2, 3))
get_sids(qb)

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