available_fields: S3 Generic to return all GDC fields

View source: R/fields.R

available_fieldsR 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)

  • available_fields(GDCQuery): GDCQuery method

  • available_fields(character): character method

Examples

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


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