expand: Set the 'expand' parameter

Description Usage Arguments Value Methods (by class) Examples

View source: R/expand.R

Description

S3 generic to set GDCQuery expand parameter

Usage

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

Examples

1
2
3
4
5
6
7
8
9
gProj = projects()
gProj$fields
head(available_fields(gProj))
default_fields(gProj)

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

GenomicDataCommons documentation built on Nov. 8, 2020, 11:08 p.m.