expand: Set the 'expand' parameter

View source: R/expand.R

expandR Documentation

Set the expand parameter

Description

S3 generic to set GDCQuery expand parameter

Usage

expand(x, expand)

## S3 method for class 'GDCQuery'
expand(x, expand)

Arguments

x

the objects on which to set fields

expand

a character vector specifying the fields

Value

A GDCQuery object, with the expand member altered.

Methods (by class)

  • expand(GDCQuery): set expand fields on a GDCQuery object

Examples

gProj = projects()
gProj$fields
head(available_fields(gProj))
default_fields(gProj)

gProj %>%
  select(default_fields(gProj)[1:2]) %>%
  response() %>%
  str(max_level=2)


Bioconductor/GenomicDataCommons documentation built on Jan. 30, 2024, 11:59 p.m.