available_fields {GenomicDataCommons} | R Documentation

## S3 Generic to return all GDC fields

### Description

S3 Generic to return all GDC fields

### Usage

    available_fields(x)

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

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

### Arguments

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

### Value

a character vector of the default fields

### Methods (by class)

- `GDCQuery`: GDCQuery method

- `character`: character method

### Examples

    available_fields('projects')
    projQuery = query('projects')
    available_fields(projQuery)

[Package GenomicDataCommons version 1.18.0 Index]