default_fields: S3 Generic to return default GDC fields

View source: R/fields.R

default_fieldsR Documentation

S3 Generic to return default GDC fields

Description

S3 Generic to return default GDC fields

Usage

default_fields(x)

## S3 method for class 'character'
default_fields(x)

## S3 method for class 'GDCQuery'
default_fields(x)

Arguments

x

A character string ('cases','files','projects', 'annotations') or an subclass of GDCQuery.

Value

a character vector of the default fields

Methods (by class)

  • default_fields(character): character method

  • default_fields(GDCQuery): GDCQuery method

Examples

default_fields('projects')
projQuery = query('projects')
default_fields(projQuery)


Bioconductor/GenomicDataCommons documentation built on Oct. 31, 2024, 7 a.m.