default_fields {GenomicDataCommons} | R 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)

- `character`: character method

- `GDCQuery`: GDCQuery method

### Examples

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

[Package GenomicDataCommons version 1.12.0 Index]