powered by
The basis for all functionality in this package starts with constructing a query in R. The GDCQuery object contains the filters, facets, and other parameters that define the returned results. A token is required for accessing certain datasets.
query(entity, filters = NULL, facets = NULL, legacy = FALSE, expand = NULL, fields = default_fields(entity))cases(...)files(...)projects(...)annotations(...)
cases(...)
files(...)
projects(...)
annotations(...)
character vector of 'cases','files','annotations', or 'projects'
a filter list, typically created using make_filter, or added to an existing GDCQuery object using filter.
make_filter
GDCQuery
filter
a character vector of
logical(1) whether to use the "legacy" archive or not. See https://docs.gdc.cancer.gov/Data_Portal/Users_Guide/Legacy_Archive/ and https://gdc-portal.nci.nih.gov/legacy-archive/search/f for details.
a character vector of "expands" to include in returned data
a character vector of fields to return
passed through to query
query
An S3 object, the GDCQuery object. This is a list with the following members.
filters
facets
fields
expand
archive
token
cases: convenience contructor for a GDCQuery for cases
cases
files: convenience contructor for a GDCQuery for cases
files
projects: convenience contructor for a GDCQuery for cases
projects
annotations: convenience contructor for a GDCQuery for annotations
annotations
# NOT RUN { qcases = query('cases') # equivalent to: qcases = cases() # }
Run the code above in your browser using DataLab