select: S3 generic to set GDCQuery fields

View source: R/fields.R

selectR Documentation

S3 generic to set GDCQuery fields

Description

S3 generic to set GDCQuery fields

Usage

select(x, fields)

## S3 method for class 'GDCQuery'
select(x, fields)

Arguments

x

the objects on which to set fields

fields

a character vector specifying the fields

Value

A GDCQuery object, with the fields member altered.

Methods (by class)

  • select(GDCQuery): set 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 May 7, 2024, 10:21 p.m.