get_sids: Get or set query sample ids

View source: R/query_builder_wrappers.R

get_sidsR Documentation

Get or set query sample ids

Description

Get or set query sample ids

Usage

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

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

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